public class DispatchersImpl extends Dispatchers
Constructor and Description |
---|
DispatchersImpl(Settings settings,
LoggingAdapter log,
DispatcherPrerequisites prerequisites) |
Modifier and Type | Method and Description |
---|---|
CachingConfig |
cachingConfig() |
com.typesafe.config.Config |
config(java.lang.String id)
INTERNAL API
|
com.typesafe.config.Config |
defaultDispatcherConfig() |
scala.concurrent.ExecutionContextExecutor |
defaultGlobalDispatcher()
The one and only default dispatcher.
|
boolean |
hasDispatcher(java.lang.String id)
Checks that the configuration provides a section for the given dispatcher.
|
scala.concurrent.ExecutionContextExecutor |
lookup(DispatcherSelector selector) |
scala.concurrent.ExecutionContextExecutor |
lookup(java.lang.String id)
Returns a dispatcher as specified in configuration.
|
void |
shutdown() |
DefaultDispatcherId
public DispatchersImpl(Settings settings, LoggingAdapter log, DispatcherPrerequisites prerequisites)
public scala.concurrent.ExecutionContextExecutor lookup(DispatcherSelector selector)
lookup
in class Dispatchers
public void shutdown()
shutdown
in class Dispatchers
public CachingConfig cachingConfig()
public com.typesafe.config.Config defaultDispatcherConfig()
public scala.concurrent.ExecutionContextExecutor defaultGlobalDispatcher()
public scala.concurrent.ExecutionContextExecutor lookup(java.lang.String id)
Throws ConfigurationException if the specified dispatcher cannot be found in the configuration.
id
- (undocumented)public boolean hasDispatcher(java.lang.String id)
id
- (undocumented)public com.typesafe.config.Config config(java.lang.String id)
id
- (undocumented)