Class Group
This class provides base functionality for all group routers in the system. Group routers are routers that use already created routees. These routees are supplied to the router and are addressed through ActorSelection paths.
Inheritance
Group
Inherited Members
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public abstract class Group : RouterConfig, ISurrogated, IEquatable<RouterConfig>, IEquatable<Group>
Constructors
| Improve this Doc View SourceGroup(IEnumerable<String>, String)
TBD
Declaration
protected Group(IEnumerable<string> paths, string routerDispatcher)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<String> | paths | TBD |
String | routerDispatcher | TBD |
Fields
| Improve this Doc View SourceInternalPaths
Internal property for holding the supplied paths
Declaration
protected readonly string[] InternalPaths
Field Value
Type | Description |
---|---|
String[] |
Methods
| Improve this Doc View SourceCreateRouterActor()
TBD
Declaration
public override ActorBase CreateRouterActor()
Returns
Type | Description |
---|---|
ActorBase | TBD |
Overrides
Akka.Routing.RouterConfig.CreateRouterActor()
|
Improve this Doc
View Source
Equals(Group)
Declaration
public bool Equals(Group other)
Parameters
Type | Name | Description |
---|---|---|
Group | other |
Returns
Type | Description |
---|---|
Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
| Improve this Doc View SourceGetPaths(ActorSystem)
Retrieves the actor paths used by this router during routee selection.
Declaration
public abstract IEnumerable<string> GetPaths(ActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ActorSystem | system | The actor system that owns this router. |
Returns
Type | Description |
---|---|
IEnumerable<String> | An enumeration of actor paths used during routee selection |
Props()
Adds the current router to an empty Props.
Declaration
public Props Props()
Returns
Type | Description |
---|---|
Props | An empty Props configured to use the current router. |