@FunctionalInterface public interface CancelHandle
Modifier and Type | Field and Description |
---|---|
static CancelHandle |
NULL
A null cancel handle which does nothing.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel(boolean aggressiveCancelRequested)
Attempt to cancel the in-progress invocation.
|
static final CancelHandle NULL
void cancel(boolean aggressiveCancelRequested)
aggressiveCancelRequested
- false
to only cancel if the method invocation has not yet begun, true
to
attempt to cancel even if the method is runningCopyright © 2019 JBoss by Red Hat. All rights reserved.