Click or drag to resize
Akka.NETClusterRouterPool Class
RouterConfig implementation for deployment on cluster nodes. Delegates other duties to the local RouterConfig, which makes it possible to mix this with built-in routers such as RoundRobinGroup or custom routers.
Inheritance Hierarchy

Namespace:  Akka.Cluster.Routing
Assembly:  Akka.Cluster (in Akka.Cluster.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public sealed class ClusterRouterPool : Pool

The ClusterRouterPool type exposes the following members.

Constructors
  NameDescription
Public methodClusterRouterPool
Initializes a new instance of the ClusterRouterPool class.
Top
Properties
  NameDescription
Public propertyLocal
TBD
Public propertyNrOfInstances
Retrieves the current number of routees in the pool.
(Inherited from Pool.)
Public propertyResizer
Retrieve the resizer to use when dynamically allocating routees to the pool.
(Inherited from Pool.)
Public propertyRouterDispatcher
Dispatcher ID to use for running the "head" actor, which handles supervision, death watch and router management messages.
(Overrides RouterConfigRouterDispatcher.)
Public propertySettings
TBD
Public propertyStopRouterWhenAllRouteesRemoved
Specify that this router should stop itself when all routees have terminated (been removed).
(Overrides PoolStopRouterWhenAllRouteesRemoved.)
Public propertySupervisorStrategy
Retrieve the strategy to use when supervising the pool.
(Overrides PoolSupervisorStrategy.)
Public propertyUsePoolDispatcher
Retrieve whether or not to use the pool dispatcher. The dispatcher is defined in the 'pool-dispatcher' configuration property in the deployment section of the router.
(Inherited from Pool.)
Top
Methods
  NameDescription
Public methodCreateRouter
Creates a router that is responsible for routing messages to routees within the provided system.
(Overrides RouterConfigCreateRouter(ActorSystem).)
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Pool.)
Public methodEquals(Pool)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Pool.)
Public methodEquals(RouterConfig)
Indicates whether the current object is equal to another object of the same type.
(Inherited from RouterConfig.)
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 Pool.)
Public methodGetNrOfInstances
Returns the initial number of routees
(Overrides PoolGetNrOfInstances(ActorSystem).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsManagementMessage
Determines whether a provided message is handled by the router.
(Overrides RouterConfigIsManagementMessage(Object).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProps
Adds the current router to the provided routeeProps.
(Inherited from Pool.)
Public methodRoutingLogicController
TBD
(Overrides RouterConfigRoutingLogicController(RoutingLogic).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToSurrogate
N/A
(Overrides RouterConfigToSurrogate(ActorSystem).)
Public methodVerifyConfig
Check that everything is there which is needed. Called in constructor of RoutedActorRef to fail early.
(Inherited from RouterConfig.)
Public methodWithFallback
Configure the current router with an auxiliary router for routes that it does not know how to handle.
(Overrides RouterConfigWithFallback(RouterConfig).)
Top
Extension Methods
See Also