Uses of Interface
org.eclipse.jetty.util.Callback
Packages that use Callback
-
Uses of Callback in org.eclipse.jetty.util
Subinterfaces of Callback in org.eclipse.jetty.utilModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceA Callback implementation that calls theCallback.Completing.completed()method when it either succeeds or fails.Classes in org.eclipse.jetty.util that implement CallbackModifier and TypeClassDescriptionstatic classACompletableFuturethat is also aCallback.static classNested Completing Callback that completes after completing the nested callbackclassA 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.classDeprecated.A 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 CallbackCreates a callback that runs completed when it succeeds or failsstatic CallbackCreates a callback from the given success and failure lambdas.static CallbackCreates 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 CallbackCreates a nested callback that runs completed after completing the nested callback.static CallbackCreates a nested callback which always fails the nested callback on completion.static CallbackCreates a nested callback that runs completed after completing the nested callback.static CallbackCreates a callback which combines two other callbacks and will succeed or fail them both.static CallbackCallback.from(Invocable.InvocationType invocationType, Runnable completed) Creates a Callback with the giveninvocationType, that runs the givenRunnablewhen it succeeds or fails.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 Callback.CompletableCreates a completable future given a callback.static CallbackCreates a nested callback that runs completed before completing the nested callback.static CallbackCreates a nested callback that runs completed after completing the nested callback.static CallbackCreates a nested callback which always fails the nested callback on completion.static CallbackCreates a nested callback that runs completed after completing the nested callback.static CallbackCreates a callback which combines two other callbacks and will succeed or fail them both.voidGet the scanner to perform a scan cycle as soon as possible and call the Callback when the scan is finished or failed.Constructors in org.eclipse.jetty.util with parameters of type CallbackModifierConstructorDescriptionCountingCallback(Callback callback, int count) IteratingNestedCallback(Callback callback)