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.Object
Base 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.Config
config()
ExecutorServiceConfigurator
configureExecutor()
abstract MessageDispatcher
dispatcher()
Returns an instance of MessageDispatcher given the configuration.DispatcherPrerequisites
prerequisites()
-
-
-
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()
-
-