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