Package | Description |
---|---|
sirius.kernel.async |
Provides a framework for asynchronous execution of given tasks.
|
Modifier and Type | Method and Description |
---|---|
Future |
Barrier.asFuture()
Generates a new
Future which completes if the las added promise completes or if any one of those fails. |
Future |
ExecutionBuilder.fork(Runnable task)
Specifies to fork the current CallContext while executing the given task.
|
Future |
Future.onSuccess(Runnable successHandler)
Adds a completion handler to this promise which only handles the successful completion of the promise.
|
Future |
ExecutionBuilder.start(Runnable task)
Specifies to create a new CallContext while executing the given task.
|
Future |
Future.success()
Marks this future as successfully completed.
|
Copyright © 2018. All rights reserved.