public class ListenableFutureEndpointCallExecutableFactory<T,O> extends java.lang.Object implements EndpointCallExecutableDecoratorFactory<com.google.common.util.concurrent.ListenableFuture<T>,T,O>
| Constructor and Description |
|---|
ListenableFutureEndpointCallExecutableFactory() |
ListenableFutureEndpointCallExecutableFactory(com.google.common.util.concurrent.ListeningExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
EndpointCallExecutable<com.google.common.util.concurrent.ListenableFuture<T>,O> |
create(EndpointMethod endpointMethod,
EndpointCallExecutable<T,O> executable) |
JavaType |
returnType(EndpointMethod endpointMethod) |
boolean |
supports(EndpointMethod endpointMethod) |
public ListenableFutureEndpointCallExecutableFactory()
public ListenableFutureEndpointCallExecutableFactory(com.google.common.util.concurrent.ListeningExecutorService executorService)
public boolean supports(EndpointMethod endpointMethod)
supports in interface EndpointCallExecutableProviderpublic JavaType returnType(EndpointMethod endpointMethod)
returnType in interface EndpointCallExecutableDecoratorFactory<com.google.common.util.concurrent.ListenableFuture<T>,T,O>public EndpointCallExecutable<com.google.common.util.concurrent.ListenableFuture<T>,O> create(EndpointMethod endpointMethod, EndpointCallExecutable<T,O> executable)
create in interface EndpointCallExecutableDecoratorFactory<com.google.common.util.concurrent.ListenableFuture<T>,T,O>Copyright © 2017. All Rights Reserved.