Package org.eclipse.jetty.util
Class Callback.Nested
java.lang.Object
org.eclipse.jetty.util.Callback.Nested
- All Implemented Interfaces:
Callback,Callback.Completing,Invocable
- Direct Known Subclasses:
CountingCallback,HTTP2Session.Entry
- Enclosing interface:
- Callback
Nested Completing Callback that completes after
completing the nested callback
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Combination, Callback.Completable, Callback.Completing, Callback.NestedNested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.Callable, Invocable.InvocationType, Invocable.ReadyTask, Invocable.Task -
Field Summary
Fields inherited from interface org.eclipse.jetty.util.Callback
NOOP, NOT_CALLEDFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidCallback invoked when the operation fails.voidCallback invoked when the operation completes.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.Callback
completeWith
-
Constructor Details
-
Nested
-
-
Method Details
-
getCallback
-
completed
public void completed()- Specified by:
completedin interfaceCallback.Completing
-
succeeded
public void succeeded()Description copied from interface:CallbackCallback invoked when the operation completes.
- Specified by:
succeededin interfaceCallback- Specified by:
succeededin interfaceCallback.Completing- See Also:
-
failed
Description copied from interface:CallbackCallback invoked when the operation fails.
- Specified by:
failedin interfaceCallback- Specified by:
failedin interfaceCallback.Completing- Parameters:
x- the reason for the operation failure
-
getInvocationType
- Specified by:
getInvocationTypein interfaceInvocable- Returns:
- The InvocationType of this object
-
toString
-