public class ExecutorAsyncEndpointCall<T> extends java.lang.Object implements AsyncEndpointCall<T>
| Constructor and Description |
|---|
ExecutorAsyncEndpointCall(EndpointCall<T> source,
java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
T |
execute() |
java.util.concurrent.CompletionStage<T> |
executeAsync() |
void |
executeAsync(EndpointCallCallback<T> callback) |
void |
executeAsync(EndpointCallSuccessCallback<T> success,
EndpointCallFailureCallback failure) |
public ExecutorAsyncEndpointCall(EndpointCall<T> source, java.util.concurrent.Executor executor)
public void executeAsync(EndpointCallCallback<T> callback)
executeAsync in interface AsyncEndpointCall<T>public void executeAsync(EndpointCallSuccessCallback<T> success, EndpointCallFailureCallback failure)
executeAsync in interface AsyncEndpointCall<T>public java.util.concurrent.CompletionStage<T> executeAsync()
executeAsync in interface AsyncEndpointCall<T>public T execute()
execute in interface EndpointCall<T>Copyright © 2019. All Rights Reserved.