| Package | Description |
|---|---|
| org.eclipse.jetty.util |
Jetty Util : Common Utility Classes
|
| org.eclipse.jetty.util.thread |
Jetty Util : Common ThreadPool Utilities
|
| org.eclipse.jetty.util.thread.strategy |
| Modifier and Type | Method and Description |
|---|---|
Invocable.InvocationType |
SharedBlockingCallback.Blocker.getInvocationType() |
Invocable.InvocationType |
IteratingNestedCallback.getInvocationType() |
Invocable.InvocationType |
Callback.Nested.getInvocationType() |
Invocable.InvocationType |
Callback.Completable.getInvocationType() |
| Modifier and Type | Method and Description |
|---|---|
static Callback |
Callback.from(CompletableFuture<?> completable,
Invocable.InvocationType invocation)
Creates a callback from the given incomplete CompletableFuture,
with the given
blocking characteristic. |
| Constructor and Description |
|---|
Completable(Invocable.InvocationType invocation) |
| Modifier and Type | Method and Description |
|---|---|
default Invocable.InvocationType |
Invocable.getInvocationType() |
static Invocable.InvocationType |
Invocable.getInvocationType(Object o)
Get the invocation type of an Object.
|
static Invocable.InvocationType |
Invocable.InvocationType.valueOf(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 and Description |
|---|---|
static Runnable |
Invocable.asPreferred(Runnable task,
Invocable.InvocationType preferredInvocationType)
wrap a task with the to indicate invocation type.
|
static void |
Invocable.invokePreferred(Runnable task,
Invocable.InvocationType preferredInvocationType)
Invoke a task with the calling thread.
|
| Modifier and Type | Method and Description |
|---|---|
Invocable.InvocationType |
ExecutingExecutionStrategy.getPreferredInvocationType() |
| Constructor and Description |
|---|
ExecuteProduceConsume(ExecutionStrategy.Producer producer,
Executor executor,
Invocable.InvocationType preferred) |
ExecutingExecutionStrategy(Executor executor,
Invocable.InvocationType preferred) |
ProduceExecuteConsume(ExecutionStrategy.Producer producer,
Executor executor,
Invocable.InvocationType preferred) |
Copyright © 1995–2017 Webtide. All rights reserved.