Click or drag to resize
Akka.NETFromConfig Class
Router configuration which has no default, i.e. external configuration is required. This can be used when the dispatcher to be used for the head Router needs to be configured
Inheritance Hierarchy

Namespace:  Akka.Routing
Assembly:  Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public class FromConfig : Pool

The FromConfig type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyStatic memberInstance
Retrieves a RouterConfig based on what's stored in the configuration.
Note Note
This router is set to use the default dispatcher DefaultDispatcherId.
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.
(Inherited from RouterConfig.)
Public propertyStopRouterWhenAllRouteesRemoved
Specify that this router should stop itself when all routees have terminated (been removed).
(Inherited from Pool.)
Public propertySupervisorStrategy
Retrieve the strategy to use when supervising the pool.
(Inherited from Pool.)
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
N/A
(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
TBD
(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.
(Inherited from RouterConfig.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProps
Enriches a Props with what what's stored in the router configuration.
Public methodProps(Props)
Adds the current router to the provided routeeProps.
(Inherited from Pool.)
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.
(Inherited from RouterConfig.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToSurrogate
Creates a surrogate representation of the current FromConfig.
(Overrides RouterConfigToSurrogate(ActorSystem).)
Public methodVerifyConfig
N/A
(Overrides RouterConfigVerifyConfig(ActorPath).)
Public methodWithDispatcher
Setting the dispatcher to be used for the router head actor, which handles supervision, death watch and router management messages.
Public methodWithFallback
Configure the current router with an auxiliary router for routes that it does not know how to handle.
(Inherited from RouterConfig.)
Public methodWithResizer
Setting the resizer to be used.
Public methodWithSupervisorStrategy
Setting the supervisor strategy to be used for the "head" Router actor
Top
Extension Methods
See Also