| Package | Description |
|---|---|
| eu.toolchain.async |
| Modifier and Type | Method and Description |
|---|---|
static TinyAsyncBuilder |
TinyAsync.builder()
Build a new TinyAsync instance.
|
TinyAsyncBuilder |
TinyAsyncBuilder.caller(AsyncCaller caller)
Specify an asynchronous caller implementation.
|
TinyAsyncBuilder |
TinyAsyncBuilder.callerExecutor(ExecutorService callerExecutor)
Specify a separate executor to use for caller (internal handle) invocation.
|
TinyAsyncBuilder |
TinyAsyncBuilder.clockSource(ClockSource clockSource) |
TinyAsyncBuilder |
TinyAsyncBuilder.executor(ExecutorService executor)
Configure the default executor to use for caller invocation,and asynchronous tasks submitted
through
AsyncFramework.call(Callable). |
TinyAsyncBuilder |
TinyAsyncBuilder.maxRecursionDepth(long maxRecursionDepth)
Configure how many recursions should be allowed.
|
TinyAsyncBuilder |
TinyAsyncBuilder.recursionSafe(boolean recursionSafe)
Configure that all caller invocations should use a recursion safe mechanism.
|
TinyAsyncBuilder |
TinyAsyncBuilder.scheduler(ScheduledExecutorService scheduler)
Specify a scheduler to use with the built TinyAsync instance.
|
TinyAsyncBuilder |
TinyAsyncBuilder.threaded(boolean threaded)
Configure that all caller invocation, and async tasks should be using a thread pool.
|
Copyright © 2017. All rights reserved.