| Package | Description |
|---|---|
| org.eclipse.jetty.util |
Jetty Util : Common Utility Classes
|
| org.eclipse.jetty.util.thread |
Jetty Util : Common ThreadPool Utilities
|
| Modifier and Type | Method | Description |
|---|---|---|
Invocable.InvocationType |
Callback.Completable.getInvocationType() |
|
Invocable.InvocationType |
Callback.Nested.getInvocationType() |
|
Invocable.InvocationType |
IteratingNestedCallback.getInvocationType() |
|
Invocable.InvocationType |
SharedBlockingCallback.Blocker.getInvocationType() |
| Modifier and Type | Method | Description |
|---|---|---|
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. |
| Constructor | Description |
|---|---|
Completable(Invocable.InvocationType invocation) |
| Modifier and Type | Method | Description |
|---|---|---|
default Invocable.InvocationType |
Invocable.getInvocationType() |
|
static Invocable.InvocationType |
Invocable.getInvocationType(java.lang.Object o) |
Get the invocation type of an Object.
|
Invocable.InvocationType |
Invocable.NonBlocking.getInvocationType() |
|
static Invocable.InvocationType |
Invocable.InvocationType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Invocable.InvocationType[] |
Invocable.InvocationType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.Runnable |
Invocable.asPreferred(java.lang.Runnable task,
Invocable.InvocationType preferredInvocationType) |
wrap a task with the to indicate invocation type.
|
static void |
Invocable.invokePreferred(java.lang.Runnable task,
Invocable.InvocationType preferredInvocationType) |
Invoke a task with the calling thread.
|
Copyright © 1995–2017 Webtide. All rights reserved.