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

Afficher le fichier Open project: rogeralsing/akka.net Class Usage Examples

Méthodes publiques

Свойство Type Description
AcceptableHeartbeatPause System.TimeSpan
BufferSize int
EstablishingGetContactsInterval System.TimeSpan
HeartbeatInterval System.TimeSpan
InitialContacts IImmutableSet
RefreshContactsInterval System.TimeSpan

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat System

Create() public static méthode

public static Create ( ActorSystem system ) : ClusterClientSettings
system ActorSystem
Résultat ClusterClientSettings

WithBufferSize() public méthode

public WithBufferSize ( int bufferSize ) : ClusterClientSettings
bufferSize int
Résultat ClusterClientSettings

WithEstablishingGetContactsInterval() public méthode

public WithEstablishingGetContactsInterval ( System.TimeSpan value ) : ClusterClientSettings
value System.TimeSpan
Résultat ClusterClientSettings

WithHeartbeatInterval() public méthode

public WithHeartbeatInterval ( System.TimeSpan value ) : ClusterClientSettings
value System.TimeSpan
Résultat ClusterClientSettings

WithInitialContacts() public méthode

public WithInitialContacts ( IEnumerable initialContacts ) : ClusterClientSettings
initialContacts IEnumerable
Résultat ClusterClientSettings

WithRefreshContactsInterval() public méthode

public WithRefreshContactsInterval ( System.TimeSpan value ) : ClusterClientSettings
value System.TimeSpan
Résultat 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
Résultat 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
Résultat 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
Résultat System.TimeSpan

HeartbeatInterval public_oe property

How often failure detection heartbeat messages for detection of failed connections should be sent.
public TimeSpan,System HeartbeatInterval
Résultat 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
Résultat 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
Résultat System.TimeSpan