C# 클래스 Akka.Cluster.Tools.Client.ClusterClientSettings

파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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