C# 클래스 Akka.Cluster.ClusterRemoteWatcher

Specialization of Akka.Remote.RemoteWatcher that keeps track of cluster member nodes and is responsible for watchees on cluster nodes. Akka.Actor.AddressTerminated is published when a node is removed from cluster `RemoteWatcher` handles non-cluster nodes. `ClusterRemoteWatcher` will take over responsibility from `RemoteWatcher` if a watch is added before a node is member of the cluster and then later becomes cluster member.
상속: Akka.Remote.RemoteWatcher
파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

공개 메소드들

메소드 설명
ClusterRemoteWatcher ( IFailureDetectorRegistry
failureDetector, System.TimeSpan heartbeatInterval, System.TimeSpan unreachableReaperInterval, System.TimeSpan heartbeatExpectedResponseAfter ) : System
Props ( IFailureDetectorRegistry
failureDetector, System.TimeSpan heartbeatInterval, System.TimeSpan unreachableReaperInterval, System.TimeSpan heartbeatExpectedResponseAfter ) : Props

Factory method for Akka.Remote.RemoteWatcher

보호된 메소드들

메소드 설명
OnReceive ( object message ) : void
PostStop ( ) : void
PreStart ( ) : void
WatchNode ( IInternalActorRef watchee ) : void

비공개 메소드들

메소드 설명
MemberRemoved ( ClusterEvent memberRemoved ) : void
MemberUp ( ClusterEvent memberUp ) : void
TakeOverResponsibility ( Akka.Actor.Address address ) : void

When a cluster node is added this class takes over the responsibility for watchees on that node already handled by base RemoteWatcher.

메소드 상세

ClusterRemoteWatcher() 공개 메소드

public ClusterRemoteWatcher ( IFailureDetectorRegistry
failureDetector, System.TimeSpan heartbeatInterval, System.TimeSpan unreachableReaperInterval, System.TimeSpan heartbeatExpectedResponseAfter ) : System
failureDetector IFailureDetectorRegistry
heartbeatInterval System.TimeSpan
unreachableReaperInterval System.TimeSpan
heartbeatExpectedResponseAfter System.TimeSpan
리턴 System

OnReceive() 보호된 메소드

protected OnReceive ( object message ) : void
message object
리턴 void

PostStop() 보호된 메소드

protected PostStop ( ) : void
리턴 void

PreStart() 보호된 메소드

protected PreStart ( ) : void
리턴 void

Props() 공개 정적인 메소드

Factory method for Akka.Remote.RemoteWatcher
public static Props ( IFailureDetectorRegistry
failureDetector, System.TimeSpan heartbeatInterval, System.TimeSpan unreachableReaperInterval, System.TimeSpan heartbeatExpectedResponseAfter ) : Props
failureDetector IFailureDetectorRegistry
heartbeatInterval System.TimeSpan
unreachableReaperInterval System.TimeSpan
heartbeatExpectedResponseAfter System.TimeSpan
리턴 Props

WatchNode() 보호된 메소드

protected WatchNode ( IInternalActorRef watchee ) : void
watchee IInternalActorRef
리턴 void