Package org.cxbox.model.core.service
Class AsyncServiceImpl
java.lang.Object
org.cxbox.model.core.service.AsyncServiceImpl
- All Implemented Interfaces:
AsyncService
-
Field Summary
Fields inherited from interface org.cxbox.api.service.AsyncService
SERVICE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,E extends Throwable>
CompletableFuture<T>invokeAsync(Invoker<T, E> invoker)
-
Constructor Details
-
AsyncServiceImpl
public AsyncServiceImpl()
-
-
Method Details
-
invokeAsync
@Async public <T,E extends Throwable> CompletableFuture<T> invokeAsync(Invoker<T, E> invoker) throws E- Specified by:
invokeAsyncin interfaceAsyncService- Throws:
E extends Throwable
-