C# Class Akka.Routing.ScatterGatherFirstCompletedGroup

Inheritance: Akka.Routing.Group
Datei anzeigen Open project: rogeralsing/akka.net

Public Methods

Method Description
CreateRouter ( ActorSystem system ) : Router

Creates a router that is responsible for routing messages to routees within the provided system.

ScatterGatherFirstCompletedGroup ( Config config ) : System

Initializes a new instance of the ScatterGatherFirstCompletedGroup class.

ScatterGatherFirstCompletedGroup ( IEnumerable routees, System.TimeSpan within ) : System

Initializes a new instance of the ScatterGatherFirstCompletedGroup class.

ScatterGatherFirstCompletedGroup ( IEnumerable paths, System.TimeSpan within ) : System

Initializes a new instance of the ScatterGatherFirstCompletedGroup class.

ScatterGatherFirstCompletedGroup ( System.TimeSpan within ) : System

Initializes a new instance of the ScatterGatherFirstCompletedGroup class.

ToSurrogate ( ActorSystem system ) : ISurrogate

Creates a surrogate representation of the current ScatterGatherFirstCompletedGroup.

WithDispatcher ( string dispatcher ) : Akka.Routing.Group

Creates a new ScatterGatherFirstCompletedGroup router with a given dispatcher id. This method is immutable and returns a new instance of the router.

Method Details

CreateRouter() public method

Creates a router that is responsible for routing messages to routees within the provided system.
public CreateRouter ( ActorSystem system ) : Router
system ActorSystem The actor system that owns this router.
return Router

ScatterGatherFirstCompletedGroup() public method

Initializes a new instance of the ScatterGatherFirstCompletedGroup class.
public ScatterGatherFirstCompletedGroup ( Config config ) : System
config Akka.Configuration.Config /// The configuration to use to lookup paths used by the group router. /// /// /// If 'routees.path' is defined in the provided configuration then those paths will be used by the router. /// If 'within' is defined in the provided configuration then that will be used as the interval. /// ///
return System

ScatterGatherFirstCompletedGroup() public method

Initializes a new instance of the ScatterGatherFirstCompletedGroup class.
public ScatterGatherFirstCompletedGroup ( IEnumerable routees, System.TimeSpan within ) : System
routees IEnumerable An enumeration of routees used by the group router.
within System.TimeSpan The amount of time to wait for a response.
return System

ScatterGatherFirstCompletedGroup() public method

Initializes a new instance of the ScatterGatherFirstCompletedGroup class.
public ScatterGatherFirstCompletedGroup ( IEnumerable paths, System.TimeSpan within ) : System
paths IEnumerable An enumeration of actor paths used by the group router.
within System.TimeSpan The amount of time to wait for a response.
return System

ScatterGatherFirstCompletedGroup() public method

Initializes a new instance of the ScatterGatherFirstCompletedGroup class.
public ScatterGatherFirstCompletedGroup ( System.TimeSpan within ) : System
within System.TimeSpan The amount of time to wait for a response.
return System

ToSurrogate() public method

Creates a surrogate representation of the current ScatterGatherFirstCompletedGroup.
public ToSurrogate ( ActorSystem system ) : ISurrogate
system ActorSystem The actor system that owns this router.
return ISurrogate

WithDispatcher() public method

Creates a new ScatterGatherFirstCompletedGroup router with a given dispatcher id. This method is immutable and returns a new instance of the router.
public WithDispatcher ( string dispatcher ) : Akka.Routing.Group
dispatcher string The dispatcher id used to configure the new router.
return Akka.Routing.Group