| Package | Description |
|---|---|
| org.eclipse.jetty.util |
Jetty Util : Common Utility Classes
|
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Callback.Completable |
A CompletableFuture that is also a Callback.
|
static class |
Callback.Nested |
|
class |
CompletableCallback |
A callback to be used by driver code that needs to know whether the callback has been
succeeded or failed (that is, completed) just after the asynchronous operation or not,
typically because further processing depends on the callback being completed.
|
class |
CountingCallback |
A callback wrapper that succeeds the wrapped callback when the count is
reached, or on first failure.
|
class |
FutureCallback |
|
class |
IteratingCallback |
This specialized callback implements a pattern that allows
a large job to be broken into smaller tasks using iteration
rather than recursion.
|
class |
IteratingNestedCallback |
Iterating Nested Callback.
|
class |
SharedBlockingCallback.Blocker |
A Closeable Callback.
|
| Modifier and Type | Field | Description |
|---|---|---|
static Callback |
Callback.NOOP |
Instance 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.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Callback |
Callback.from(java.util.concurrent.CompletableFuture<?> completable) |
Creates a non-blocking callback from the given incomplete CompletableFuture.
|
static Callback |
Callback.from(java.util.concurrent.CompletableFuture<?> completable,
Invocable.InvocationType invocation) |
Creates a callback from the given incomplete CompletableFuture,
with the given
blocking characteristic. |
Callback |
Callback.Nested.getCallback() |
| Constructor | Description |
|---|---|
CountingCallback(Callback callback,
int count) |
|
IteratingNestedCallback(Callback callback) |
|
Nested(Callback callback) |
Copyright © 1995–2017 Webtide. All rights reserved.