Class FutureCallback
java.lang.Object
org.eclipse.jetty.util.FutureCallback
- 
Nested Class Summary
Nested classes/interfaces inherited from interface Callback
Callback.Combination, Callback.Completable, Callback.Completing, Callback.NestedNested classes/interfaces inherited from interface Future
Future.StateNested classes/interfaces inherited from interface Invocable
Invocable.Callable, Invocable.InvocationType, Invocable.ReadyTask, Invocable.Task - 
Field Summary
FieldsFields inherited from interface Callback
NOOP, NOT_CALLEDFields inherited from interface Invocable
__nonBlocking - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Callback
completeWithMethods inherited from interface Future
exceptionNow, resultNow, state 
- 
Field Details
- 
SUCCEEDED
 
 - 
 - 
Constructor Details
- 
FutureCallback
public FutureCallback() - 
FutureCallback
public FutureCallback(boolean completed)  - 
FutureCallback
 
 - 
 - 
Method Details
- 
succeeded
 - 
failed
 - 
cancel
 - 
isCancelled
public boolean isCancelled()- Specified by:
 isCancelledin interfaceFuture<Void>
 - 
isDone
 - 
isFailed
public boolean isFailed() - 
get
- Specified by:
 getin interfaceFuture<Void>- Throws:
 InterruptedExceptionExecutionException
 - 
get
public Void get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
 getin interfaceFuture<Void>- Throws:
 InterruptedExceptionExecutionExceptionTimeoutException
 - 
block
- Throws:
 IOException
 - 
block
- Throws:
 IOException
 - 
rethrow
- Throws:
 IOException
 - 
getInvocationType
- Specified by:
 getInvocationTypein interfaceInvocable- Returns:
 - The InvocationType of this object
 
 - 
toString
 
 -