T - Options typepublic abstract class AbstractOperationCallable<T extends Options> extends Object implements OperationCallable<T>
| Constructor and Description |
|---|
AbstractOperationCallable(Runner<T> runner,
T options)
Creates a new operation callable
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the runner
|
protected T |
getOptions()
Gets the options
|
protected Runner<T> |
getRunner()
Gets the runner
|
protected boolean |
isCancelled()
Gets whether the callable has been asked to cancel
|
protected final T getOptions()
protected final boolean isCancelled()
public final void cancel()
OperationCallablecancel in interface OperationCallable<T extends Options>Copyright © 2016. All rights reserved.