Package org.apache.pekko.dispatch
Class MessageDispatcherConfigurator
java.lang.Object
org.apache.pekko.dispatch.MessageDispatcherConfigurator
- Direct Known Subclasses:
BalancingDispatcherConfigurator,CallingThreadDispatcherConfigurator,DispatcherConfigurator,PinnedDispatcherConfigurator
Base class to be used for hooking in new dispatchers into Dispatchers.
-
Constructor Summary
ConstructorsConstructorDescriptionMessageDispatcherConfigurator(com.typesafe.config.Config _config, DispatcherPrerequisites prerequisites) -
Method Summary
Modifier and TypeMethodDescriptioncom.typesafe.config.Configconfig()abstract MessageDispatcherReturns an instance of MessageDispatcher given the configuration.
-
Constructor Details
-
MessageDispatcherConfigurator
public MessageDispatcherConfigurator(com.typesafe.config.Config _config, DispatcherPrerequisites prerequisites)
-
-
Method Details
-
config
public com.typesafe.config.Config config() -
configureExecutor
-
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
-