Package akka.dispatch
Class MessageDispatcherConfigurator
- java.lang.Object
-
- akka.dispatch.MessageDispatcherConfigurator
-
- Direct Known Subclasses:
BalancingDispatcherConfigurator,CallingThreadDispatcherConfigurator,DispatcherConfigurator,PinnedDispatcherConfigurator
public abstract class MessageDispatcherConfigurator extends java.lang.ObjectBase class to be used for hooking in new dispatchers into Dispatchers.
-
-
Constructor Summary
Constructors Constructor Description MessageDispatcherConfigurator(com.typesafe.config.Config _config, DispatcherPrerequisites prerequisites)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.typesafe.config.Configconfig()ExecutorServiceConfiguratorconfigureExecutor()abstract MessageDispatcherdispatcher()Returns an instance of MessageDispatcher given the configuration.DispatcherPrerequisitesprerequisites()
-
-
-
Constructor Detail
-
MessageDispatcherConfigurator
public MessageDispatcherConfigurator(com.typesafe.config.Config _config, DispatcherPrerequisites prerequisites)
-
-
Method Detail
-
config
public com.typesafe.config.Config config()
-
configureExecutor
public ExecutorServiceConfigurator configureExecutor()
-
dispatcher
public abstract MessageDispatcher dispatcher()
Returns an instance of MessageDispatcher given the configuration. Depending on the needs the implementation may return a new instance for each invocation or return the same instance every time.
-
prerequisites
public DispatcherPrerequisites prerequisites()
-
-