| Package | Description |
|---|---|
| org.javasimon.callback.async |
| Modifier and Type | Field and Description |
|---|---|
static Executor |
Executors.DISABLED
Disabled Executor.
|
static Executor |
Executors.SYNC
Synchronous, same thread Executor.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Executor<T> |
Executors.async()
Returns asynchronous, different but unique thread executor.
|
static <T> Executor<T> |
Executors.async(ExecutorService executorService)
Returns asynchronous, different thread executor.
|
static <T> Executor<T> |
Executors.disabled()
Returns disabled executor.
|
Executor |
ExecutorProxyFactory.getExecutor()
Returns used executor.
|
static <T> Executor<T> |
Executors.sync()
Returns synchronous, same thread executor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutorProxyFactory.setExecutor(Executor executor)
Sets used executor.
|
| Constructor and Description |
|---|
AsyncCallbackProxyFactory(Callback delegate,
Executor executor)
Constructor.
|
ExecutorProxyFactory(T delegate,
Executor executor)
Constructor.
|
Copyright © 2019. All rights reserved.