Package | Description |
---|---|
sirius.kernel.async |
Provides a framework for asynchronous execution of given tasks.
|
Modifier and Type | Method and Description |
---|---|
ExecutionBuilder |
Tasks.defaultExecutor()
Returns the default executor.
|
ExecutionBuilder |
ExecutionBuilder.dropOnOverload(Runnable dropHandler)
Specifies that the given task can be dropped (ignored) in system overload conditions, if at least the given
handler is called.
|
ExecutionBuilder |
Tasks.executor(String category)
Returns the executor for the given category.
|
ExecutionBuilder |
ExecutionBuilder.frequency(Object synchronizer,
double ticksPerSecond)
Determines the maximal call frequency for tasks scheduled for the given
synchronizer . |
ExecutionBuilder |
ExecutionBuilder.minInterval(Object synchronizer,
Duration minimalIntervalDuration)
Determines the minimal interval which has to elapse between two consecutive tasks scheduled for the given
synchronizer . |
Copyright © 2018. All rights reserved.