Click or drag to resize
Akka.NETDispatchers Class
The registry of all MessageDispatcher instances available to this ActorSystem.
Inheritance Hierarchy
SystemObject
  Akka.DispatchDispatchers

Namespace:  Akka.Dispatch
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public sealed class Dispatchers

The Dispatchers type exposes the following members.

Constructors
  NameDescription
Public methodDispatchers
Initializes a new instance of the Dispatchers class.
Top
Properties
  NameDescription
Public propertyDefaultDispatcherConfig
The Config for the default dispatcher.
Public propertyDefaultGlobalDispatcher
Gets the one and only default dispatcher.
Public propertyPrerequisites
The prerequisites required for some MessageDispatcherConfigurator instances.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasDispatcher
Checks that configuration provides a section for the given dispatcher. This does not guarantee that no ConfigurationException will be thrown when using the dispatcher, because the details can only be checked by trying to instantiate it, which might be undesirable when just checking.
Public methodLookup
Returns a dispatcher as specified in configuration. Please note that this method _MAY_ create and return a new dispatcher on _EVERY_ call.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRegisterConfigurator
Register a MessageDispatcherConfigurator that will be used by Lookup(String) and HasDispatcher(String) instead of looking up the configurator from the system configuration. This enables dynamic addition of dispatchers.
Remarks
A MessageDispatcherConfigurator for a certain id can only be registered once, i.e. it can not be replaced. It is safe to call this method multiple times, but only the first registration will be used.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultDispatcherId
The default dispatcher identifier, also the full key of the configuration of the default dispatcher.
Public fieldStatic memberSynchronizedDispatcherId
The identifier for synchronized dispatchers.
Top
Extension Methods
See Also