Package io.smallrye.faulttolerance
Class ExecutorHolder
- java.lang.Object
-
- io.smallrye.faulttolerance.ExecutorHolder
-
@Singleton public class ExecutorHolder extends Object
-
-
Constructor Summary
Constructors Constructor Description ExecutorHolder(AsyncExecutorProvider asyncExecutorProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorService
getAsyncExecutor()
EventLoop
getEventLoop()
Timer
getTimer()
void
tearDown()
-
-
-
Constructor Detail
-
ExecutorHolder
@Inject public ExecutorHolder(AsyncExecutorProvider asyncExecutorProvider)
-
-
Method Detail
-
tearDown
@PreDestroy public void tearDown()
-
getAsyncExecutor
public ExecutorService getAsyncExecutor()
-
getEventLoop
public EventLoop getEventLoop()
-
getTimer
public Timer getTimer()
-
-