@Singleton public class MicronautExecutorFactory extends Object implements org.infinispan.commons.executors.ExecutorFactory
ExecutorFactory
implementation based on the existing IO ExecutorService
bean.Constructor and Description |
---|
MicronautExecutorFactory(ExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
ExecutorService |
getExecutor(Properties p) |
public MicronautExecutorFactory(@Named(value="io") ExecutorService executorService)
executorService
- the executor servicepublic ExecutorService getExecutor(Properties p)
getExecutor
in interface org.infinispan.commons.executors.ExecutorFactory