Modifier and Type | Method and Description |
---|---|
CompletionStageFuture<Task<T>> |
invoke()
Asynchronous method.
|
CompletionStageFuture<Task<T>> |
invoke(InvocationConfig invocationConfig)
Asynchronous method with
InvocationConfig . |
CompletionStageFuture<Task<T>> invoke()
CompletionStageFuture
.
Once the server returns a value the future will be completed.
The result of the invocation is a Task
object which holds
taskId and return type of the operation.CompletionStageFuture<Task<T>> invoke(InvocationConfig invocationConfig)
InvocationConfig
.
Result of the invocation will be returned as a CompletionStageFuture
.
Once the server returns a value the future will be completed.
The result of the invocation is a Task
object which holds
taskId and return type of the operation.