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