Package net.engio.mbassy.bus.config
Class Feature.AsynchronousHandlerInvocation
- java.lang.Object
-
- net.engio.mbassy.bus.config.Feature.AsynchronousHandlerInvocation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.engio.mbassy.bus.config.Feature
Feature.AsynchronousHandlerInvocation, Feature.AsynchronousMessageDispatch, Feature.SyncPubSub
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.ExecutorServiceexecutorprotected static java.util.concurrent.ThreadFactoryMessageHandlerThreadFactory
-
Constructor Summary
Constructors Constructor Description AsynchronousHandlerInvocation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Feature.AsynchronousHandlerInvocationDefault()static Feature.AsynchronousHandlerInvocationDefault(int minThreadCount, int maxThreadCount)java.util.concurrent.ExecutorServicegetExecutor()Feature.AsynchronousHandlerInvocationsetExecutor(java.util.concurrent.ExecutorService executor)
-
-
-
Method Detail
-
Default
public static final Feature.AsynchronousHandlerInvocation Default()
-
Default
public static final Feature.AsynchronousHandlerInvocation Default(int minThreadCount, int maxThreadCount)
-
getExecutor
public java.util.concurrent.ExecutorService getExecutor()
-
setExecutor
public Feature.AsynchronousHandlerInvocation setExecutor(java.util.concurrent.ExecutorService executor)
-
-