C# Class Akka.Cluster.Tools.Client.ClusterReceptionistSettings

Inheritance: INoSerializationVerificationNeeded
Mostra file Open project: rogeralsing/akka.net Class Usage Examples

Public Properties

Property Type Description
NumberOfContacts int
ResponseTunnelReceiveTimeout System.TimeSpan
Role string

Public Methods

Method Description
ClusterReceptionistSettings ( string role, int numberOfContacts, System.TimeSpan responseTunnelReceiveTimeout ) : System
Create ( ActorSystem system ) : ClusterReceptionistSettings

Create settings from the default configuration "akka.cluster.client.receptionist".

Create ( Config config ) : ClusterReceptionistSettings

Create settings from a configuration with the same layout as the default configuration "akka.cluster.client.receptionist".

WithNumberOfContacts ( int numberOfContacts ) : ClusterReceptionistSettings
WithResponseTunnelReceiveTimeout ( System.TimeSpan responseTunnelReceiveTimeout ) : ClusterReceptionistSettings
WithRole ( string role ) : ClusterReceptionistSettings
WithoutRole ( ) : ClusterReceptionistSettings

Private Methods

Method Description
Copy ( string role = null, int numberOfContacts = null, System.TimeSpan responseTunnelReceiveTimeout = null ) : ClusterReceptionistSettings

Method Details

ClusterReceptionistSettings() public method

public ClusterReceptionistSettings ( string role, int numberOfContacts, System.TimeSpan responseTunnelReceiveTimeout ) : System
role string
numberOfContacts int
responseTunnelReceiveTimeout System.TimeSpan
return System

Create() public static method

Create settings from the default configuration "akka.cluster.client.receptionist".
public static Create ( ActorSystem system ) : ClusterReceptionistSettings
system ActorSystem
return ClusterReceptionistSettings

Create() public static method

Create settings from a configuration with the same layout as the default configuration "akka.cluster.client.receptionist".
public static Create ( Config config ) : ClusterReceptionistSettings
config Akka.Configuration.Config
return ClusterReceptionistSettings

WithNumberOfContacts() public method

public WithNumberOfContacts ( int numberOfContacts ) : ClusterReceptionistSettings
numberOfContacts int
return ClusterReceptionistSettings

WithResponseTunnelReceiveTimeout() public method

public WithResponseTunnelReceiveTimeout ( System.TimeSpan responseTunnelReceiveTimeout ) : ClusterReceptionistSettings
responseTunnelReceiveTimeout System.TimeSpan
return ClusterReceptionistSettings

WithRole() public method

public WithRole ( string role ) : ClusterReceptionistSettings
role string
return ClusterReceptionistSettings

WithoutRole() public method

public WithoutRole ( ) : ClusterReceptionistSettings
return ClusterReceptionistSettings

Property Details

NumberOfContacts public_oe property

The receptionist will send this number of contact points to the client.
public int NumberOfContacts
return int

ResponseTunnelReceiveTimeout public_oe property

The actor that tunnel response messages to the client will be stopped after this time of inactivity.
public TimeSpan,System ResponseTunnelReceiveTimeout
return System.TimeSpan

Role public_oe property

Start the receptionist on members tagged with this role. All members are used if undefined.
public string Role
return string