public class CancelFlag extends Object
Pass it to RelOptPlanner by putting it into a Context.
| Modifier and Type | Field and Description |
|---|---|
AtomicBoolean |
atomicBoolean
The flag that holds the cancel state.
|
| Constructor and Description |
|---|
CancelFlag(AtomicBoolean atomicBoolean) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCancel()
Clears any pending cancellation request.
|
boolean |
isCancelRequested() |
void |
requestCancel()
Requests a cancellation.
|
public final AtomicBoolean atomicBoolean
public CancelFlag(AtomicBoolean atomicBoolean)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.