RoundRobinPool Class |
Note |
---|
For concurrent calls, round robin is just a best effort. |
Namespace: Akka.Routing
The RoundRobinPool type exposes the following members.
Name | Description | |||
---|---|---|---|---|
RoundRobinPool(Int32) |
Initializes a new instance of the RoundRobinPool class.
| |||
RoundRobinPool(Config) |
Initializes a new instance of the RoundRobinPool class.
| |||
RoundRobinPool(Int32, Resizer) |
Initializes a new instance of the RoundRobinPool class.
| |||
RoundRobinPool(Int32, Resizer, SupervisorStrategy, String, Boolean) |
Initializes a new instance of the RoundRobinPool class.
|
Name | Description | |
---|---|---|
NrOfInstances |
Retrieves the current number of routees in the pool.
(Inherited from Pool.) | |
Resizer |
Retrieve the resizer to use when dynamically allocating routees to the pool.
(Inherited from Pool.) | |
RouterDispatcher |
Dispatcher ID to use for running the "head" actor, which handles supervision, death watch and router management messages.
(Inherited from RouterConfig.) | |
StopRouterWhenAllRouteesRemoved |
Specify that this router should stop itself when all routees have terminated (been removed).
(Inherited from Pool.) | |
SupervisorStrategy |
Retrieve the strategy to use when supervising the pool.
(Inherited from Pool.) | |
UsePoolDispatcher |
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.) |
Name | Description | |||
---|---|---|---|---|
CreateRouter |
Creates a router that is responsible for routing messages to routees within the provided system.
(Overrides RouterConfigCreateRouter(ActorSystem).) | |||
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Pool.) | |||
Equals(Pool) | Indicates whether the current object is equal to another object of the same type. (Inherited from Pool.) | |||
Equals(RouterConfig) | Indicates whether the current object is equal to another object of the same type. (Inherited from RouterConfig.) | |||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |||
GetHashCode | Serves as the default hash function. (Inherited from Pool.) | |||
GetNrOfInstances |
Used by the RoutedActorCell to determine the initial number of routees.
(Overrides PoolGetNrOfInstances(ActorSystem).) | |||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |||
IsManagementMessage |
Determines whether a provided message is handled by the router.
(Inherited from RouterConfig.) | |||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |||
Props |
Adds the current router to the provided routeeProps.
(Inherited from Pool.) | |||
RoutingLogicController |
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.) | |||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |||
ToSurrogate |
Creates a surrogate representation of the current RoundRobinPool.
(Overrides RouterConfigToSurrogate(ActorSystem).) | |||
VerifyConfig |
Check that everything is there which is needed. Called in constructor of RoutedActorRef to fail early.
(Inherited from RouterConfig.) | |||
WithDispatcher |
Creates a new RoundRobinPool router with a given dispatcher id.
| |||
WithFallback |
Configure the current router with an auxiliary router for routes that it does not know how to handle.
(Overrides RouterConfigWithFallback(RouterConfig).) | |||
WithResizer |
Creates a new RoundRobinPool router with a given Resizer.
| |||
WithSupervisorStrategy |
Creates a new RoundRobinPool router with a given SupervisorStrategy.
|
Name | Description | |
---|---|---|
AsInstanceOfT |
TBD
(Defined by Extensions.) | |
Match | Overloaded.
Matches the specified target.
(Defined by PatternMatch.) | |
MatchT | Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.) |