Method | Description | |
---|---|---|
ClusterMetricsCollector ( IActorRef publisher ) : System |
Method | Description | |
---|---|---|
PostStop ( ) : void | ||
PreStart ( ) : void |
Method | Description | |
---|---|---|
AddMember ( Member member ) : void |
Adds a member to the node ring.
|
|
Collect ( ) : void |
Samples the latest metrics for the node, updates metrics statistics in MetricsGossip, and publishes the changes to the event bus.
|
|
Gossip ( ) : void | ||
GossipTo ( Akka.Actor.Address address ) : void | ||
Publish ( ) : void |
Publishes to the event stream.
|
|
ReceiveGossip ( |
Receives changes from peer nodes, merges remote with local gossip nodes, then publishes changes to the event stream for load balancing router consumption, and gossip back.
|
|
ReceiveState ( |
Update the initial node ring for those nodes that are MemberStatus.Up
|
|
RemoveMember ( Member member ) : void |
Removes a member from the node ring.
|
|
ReplyGossipTo ( Akka.Actor.Address address ) : void | ||
SelectRandomNode ( ImmutableList addresses ) : Akka.Actor.Address | ||
SendGossip ( Akka.Actor.Address address, |
public ClusterMetricsCollector ( IActorRef publisher ) : System | ||
publisher | IActorRef | |
return | System |