I
- the input type.O
- the output type.public static class NioManagerThread.Request<I,O> extends FutureTask<O>
FutureTask
for signaling manager threads and retrieving their internal states.Modifier and Type | Field and Description |
---|---|
protected static Runnable |
nullRunnable
A null
Runnable that has an empty Runnable.run() method. |
Constructor and Description |
---|
NioManagerThread.Request(I argument)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
I |
getArgument()
Gets the input argument.
|
void |
set(O v)
Gives public visibility to the
set(Object) method. |
void |
setException(Throwable t)
Gives public visibility to the
setException(Throwable) method. |
cancel, done, get, get, isCancelled, isDone, run, runAndReset
protected static final Runnable nullRunnable
Runnable
that has an empty Runnable.run()
method.public NioManagerThread.Request(I argument)
public I getArgument()
public void set(O v)
set(Object)
method.set
in class FutureTask<O>
public void setException(Throwable t)
setException(Throwable)
method.setException
in class FutureTask<O>