Package io.tesler.model.core.service
Class AsyncServiceImpl
- java.lang.Object
-
- io.tesler.model.core.service.AsyncServiceImpl
-
- All Implemented Interfaces:
AsyncService
@Service("asyncService") public class AsyncServiceImpl extends Object implements AsyncService
-
-
Field Summary
-
Fields inherited from interface io.tesler.api.service.AsyncService
SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description AsyncServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,E extends Throwable>
CompletableFuture<T>invokeAsync(Invoker<T,E> invoker)
-
-
-
Method Detail
-
invokeAsync
@Async public <T,E extends Throwable> CompletableFuture<T> invokeAsync(Invoker<T,E> invoker) throws E extends Throwable
- Specified by:
invokeAsync
in interfaceAsyncService
- Throws:
E extends Throwable
-
-