Uses of Interface
org.eclipse.jetty.util.Callback
Packages that use Callback
-
Uses of Callback in org.eclipse.jetty.util
Classes in org.eclipse.jetty.util that implement CallbackModifier and TypeClassDescriptionstatic classA CompletableFuture that is also a Callback.static classstatic classNested Completing Callback that completes after completing the nested callbackclassDeprecated.not used anymoreclassA callback wrapper that succeeds the wrapped callback when the count is reached, or on first failure.classclassThis specialized callback implements a pattern that allows a large asynchronous task to be broken into smaller asynchronous sub-tasks using iteration rather than recursion.classIterating Nested Callback.classA Closeable Callback.Fields in org.eclipse.jetty.util declared as CallbackModifier and TypeFieldDescriptionstatic final CallbackCallback.NOOPInstance of Adapter that can be used when the callback methods need an empty implementation without incurring in the cost of allocating a new Adapter object.Methods in org.eclipse.jetty.util that return CallbackModifier and TypeMethodDescriptionstatic Callbackstatic CallbackCreaste a callback that runs completed when it succeeds or failsstatic CallbackCreates a callback from the given success and failure lambdas.static CallbackCreate a nested callback that runs completed before completing the nested callback.static CallbackCallback.from(CompletableFuture<?> completable) Creates a non-blocking callback from the given incomplete CompletableFuture.static CallbackCallback.from(CompletableFuture<?> completable, Invocable.InvocationType invocation) Creates a callback from the given incomplete CompletableFuture, with the givenblockingcharacteristic.static CallbackCreate a nested callback that runs completed after completing the nested callback.static CallbackCallback.from(Invocable.InvocationType invocationType, Runnable success, Consumer<Throwable> failure) Creates a callback with the given InvocationType from the given success and failure lambdas.Callback.Nested.getCallback()Methods in org.eclipse.jetty.util with parameters of type CallbackModifier and TypeMethodDescriptionstatic Callbackstatic CallbackCreate a nested callback that runs completed before completing the nested callback.static CallbackCreate a nested callback that runs completed after completing the nested callback.Constructors in org.eclipse.jetty.util with parameters of type CallbackModifierConstructorDescriptionCountingCallback(Callback callback, int count) IteratingNestedCallback(Callback callback)