Package org.eclipse.jetty.util
Class Callback.Nested
java.lang.Object
org.eclipse.jetty.util.Callback.Completing
org.eclipse.jetty.util.Callback.Nested
- Direct Known Subclasses:
CountingCallback
,HttpChannel.SendCallback
,HttpSenderOverHTTP.ByteBufferRecyclerCallback
- 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.Completable, Callback.Completing, Callback.InvocableCallback, Callback.Nested
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType
-
Field Summary
FieldsFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback invoked when the operation fails.void
Callback invoked when the operation completes.Methods inherited from class org.eclipse.jetty.util.Callback.Completing
completed
-
Field Details
-
callback
-
-
Constructor Details
-
Nested
-
Nested
-
-
Method Details
-
getCallback
-
succeeded
public void succeeded()Description copied from interface:Callback
Callback invoked when the operation completes.
- Specified by:
succeeded
in interfaceCallback
- Overrides:
succeeded
in classCallback.Completing
- See Also:
-
failed
Description copied from interface:Callback
Callback invoked when the operation fails.
- Specified by:
failed
in interfaceCallback
- Overrides:
failed
in classCallback.Completing
- Parameters:
x
- the reason for the operation failure
-
getInvocationType
- Returns:
- The InvocationType of this object
-