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

Mostrar archivo Open project: rogeralsing/akka.net Class Usage Examples

Public Properties

Property Type Description
AcceptableHeartbeatPause System.TimeSpan
BufferSize int
EstablishingGetContactsInterval System.TimeSpan
HeartbeatInterval System.TimeSpan
InitialContacts IImmutableSet
RefreshContactsInterval System.TimeSpan

Public Methods

Method Description
ClusterClientSettings ( IImmutableSet initialContacts, System.TimeSpan establishingGetContactsInterval, System.TimeSpan refreshContactsInterval, System.TimeSpan heartbeatInterval, System.TimeSpan acceptableHeartbeatPause, int bufferSize ) : System
Create ( ActorSystem system ) : ClusterClientSettings
WithBufferSize ( int bufferSize ) : ClusterClientSettings
WithEstablishingGetContactsInterval ( System.TimeSpan value ) : ClusterClientSettings
WithHeartbeatInterval ( System.TimeSpan value ) : ClusterClientSettings
WithInitialContacts ( IEnumerable initialContacts ) : ClusterClientSettings
WithRefreshContactsInterval ( System.TimeSpan value ) : ClusterClientSettings

Private Methods

Method Description
Copy ( IEnumerable initialContacts = null, System.TimeSpan establishingGetContactsInterval = null, System.TimeSpan refreshContactsInterval = null, System.TimeSpan heartbeatInterval = null, System.TimeSpan acceptableHeartbeatPause = null, int bufferSize = null ) : ClusterClientSettings

Method Details

ClusterClientSettings() public method

public ClusterClientSettings ( IImmutableSet initialContacts, System.TimeSpan establishingGetContactsInterval, System.TimeSpan refreshContactsInterval, System.TimeSpan heartbeatInterval, System.TimeSpan acceptableHeartbeatPause, int bufferSize ) : System
initialContacts IImmutableSet
establishingGetContactsInterval System.TimeSpan
refreshContactsInterval System.TimeSpan
heartbeatInterval System.TimeSpan
acceptableHeartbeatPause System.TimeSpan
bufferSize int
return System

Create() public static method

public static Create ( ActorSystem system ) : ClusterClientSettings
system ActorSystem
return ClusterClientSettings

WithBufferSize() public method

public WithBufferSize ( int bufferSize ) : ClusterClientSettings
bufferSize int
return ClusterClientSettings

WithEstablishingGetContactsInterval() public method

public WithEstablishingGetContactsInterval ( System.TimeSpan value ) : ClusterClientSettings
value System.TimeSpan
return ClusterClientSettings

WithHeartbeatInterval() public method

public WithHeartbeatInterval ( System.TimeSpan value ) : ClusterClientSettings
value System.TimeSpan
return ClusterClientSettings

WithInitialContacts() public method

public WithInitialContacts ( IEnumerable initialContacts ) : ClusterClientSettings
initialContacts IEnumerable
return ClusterClientSettings

WithRefreshContactsInterval() public method

public WithRefreshContactsInterval ( System.TimeSpan value ) : ClusterClientSettings
value System.TimeSpan
return ClusterClientSettings

Property Details

AcceptableHeartbeatPause public_oe property

Number of potentially lost/delayed heartbeats that will be accepted before considering it to be an anomaly. The ClusterClient is using the DeadlineFailureDetector, which will trigger if there are no heartbeats within the duration HeartbeatInterval + AcceptableHeartbeatPause.
public TimeSpan,System AcceptableHeartbeatPause
return System.TimeSpan

BufferSize public_oe property

If connection to the receptionist is not established the client will buffer this number of messages and deliver them the connection is established. When the buffer is full old messages will be dropped when new messages are sent via the client. Use 0 to disable buffering, i.e. messages will be dropped immediately if the location of the receptionist is unavailable.
public int BufferSize
return int

EstablishingGetContactsInterval public_oe property

Interval at which the client retries to establish contact with one of ClusterReceptionist on the servers (cluster nodes)
public TimeSpan,System EstablishingGetContactsInterval
return System.TimeSpan

HeartbeatInterval public_oe property

How often failure detection heartbeat messages for detection of failed connections should be sent.
public TimeSpan,System HeartbeatInterval
return System.TimeSpan

InitialContacts public_oe property

Actor paths of the ClusterReceptionist actors on the servers (cluster nodes) that the client will try to contact initially.
public IImmutableSet InitialContacts
return IImmutableSet

RefreshContactsInterval public_oe property

Interval at which the client will ask the ClusterReceptionist for new contact points to be used for next reconnect.
public TimeSpan,System RefreshContactsInterval
return System.TimeSpan