Click or drag to resize
Akka.NETRouterConfig Class
This class provides base functionality used in the creation and configuration of the various routers in the system.
Inheritance Hierarchy

Namespace:  Akka.Routing
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public abstract class RouterConfig : ISurrogated, 
	IEquatable<RouterConfig>

The RouterConfig type exposes the following members.

Constructors
  NameDescription
Protected methodRouterConfig
Initializes a new instance of the RouterConfig class.
Protected methodRouterConfig(String)
Initializes a new instance of the RouterConfig class.
Note Note
This method defaults to setting the dispatcher to use the DefaultDispatcherId.
Top
Properties
  NameDescription
Public propertyStatic memberNoRouter Obsolete.
A configuration that specifies that no router is to be used.
Public propertyRouterDispatcher
Dispatcher ID to use for running the "head" actor, which handles supervision, death watch and router management messages.
Public propertyStopRouterWhenAllRouteesRemoved
Specify that this router should stop itself when all routees have terminated (been removed). By Default it is `true`, unless a `resizer` is used.
Top
Methods
  NameDescription
Public methodCreateRouter
Creates a router that is responsible for routing messages to routees within the provided system.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(RouterConfig)
Indicates whether the current object is equal to another object of the same type.
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 methodIsManagementMessage
Determines whether a provided message is handled by the router.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRoutingLogicController
Possibility to define an actor for controlling the routing logic from external stimuli(e.g.monitoring metrics). This actor will be a child of the router "head" actor. Management messages not handled by the "head" actor are delegated to this controller actor.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToSurrogate
Creates a surrogate representation of the current router.
Public methodVerifyConfig
Check that everything is there which is needed. Called in constructor of RoutedActorRef to fail early.
Public methodWithFallback
Configure the current router with an auxiliary router for routes that it does not know how to handle.
Top
Extension Methods
See Also