C# Класс Akka.Cluster.Tools.Client.ClusterClientSettings

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AcceptableHeartbeatPause System.TimeSpan
BufferSize int
EstablishingGetContactsInterval System.TimeSpan
HeartbeatInterval System.TimeSpan
InitialContacts IImmutableSet
RefreshContactsInterval System.TimeSpan

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Copy ( IEnumerable initialContacts = null, System.TimeSpan establishingGetContactsInterval = null, System.TimeSpan refreshContactsInterval = null, System.TimeSpan heartbeatInterval = null, System.TimeSpan acceptableHeartbeatPause = null, int bufferSize = null ) : ClusterClientSettings

Описание методов

ClusterClientSettings() публичный Метод

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
Результат System

Create() публичный статический Метод

public static Create ( ActorSystem system ) : ClusterClientSettings
system ActorSystem
Результат ClusterClientSettings

WithBufferSize() публичный Метод

public WithBufferSize ( int bufferSize ) : ClusterClientSettings
bufferSize int
Результат ClusterClientSettings

WithEstablishingGetContactsInterval() публичный Метод

public WithEstablishingGetContactsInterval ( System.TimeSpan value ) : ClusterClientSettings
value System.TimeSpan
Результат ClusterClientSettings

WithHeartbeatInterval() публичный Метод

public WithHeartbeatInterval ( System.TimeSpan value ) : ClusterClientSettings
value System.TimeSpan
Результат ClusterClientSettings

WithInitialContacts() публичный Метод

public WithInitialContacts ( IEnumerable initialContacts ) : ClusterClientSettings
initialContacts IEnumerable
Результат ClusterClientSettings

WithRefreshContactsInterval() публичный Метод

public WithRefreshContactsInterval ( System.TimeSpan value ) : ClusterClientSettings
value System.TimeSpan
Результат ClusterClientSettings

Описание свойств

AcceptableHeartbeatPause публичное свойство

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
Результат System.TimeSpan

BufferSize публичное свойство

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
Результат int

EstablishingGetContactsInterval публичное свойство

Interval at which the client retries to establish contact with one of ClusterReceptionist on the servers (cluster nodes)
public TimeSpan,System EstablishingGetContactsInterval
Результат System.TimeSpan

HeartbeatInterval публичное свойство

How often failure detection heartbeat messages for detection of failed connections should be sent.
public TimeSpan,System HeartbeatInterval
Результат System.TimeSpan

InitialContacts публичное свойство

Actor paths of the ClusterReceptionist actors on the servers (cluster nodes) that the client will try to contact initially.
public IImmutableSet InitialContacts
Результат IImmutableSet

RefreshContactsInterval публичное свойство

Interval at which the client will ask the ClusterReceptionist for new contact points to be used for next reconnect.
public TimeSpan,System RefreshContactsInterval
Результат System.TimeSpan