C# Class Akka.Cluster.MetricsGossip

INTERNAL API
显示文件 Open project: rogeralsing/akka.net Class Usage Examples

Public Properties

Property Type Description
Empty MetricsGossip

Public Methods

Method Description
Copy ( ImmutableHashSet nodes = null ) : MetricsGossip
Equals ( object obj ) : bool
Filter ( ImmutableHashSet
includeNodes ) : MetricsGossip

Only the nodes that are in the includeNodes set.

GetHashCode ( ) : int
Merge ( MetricsGossip otherGossip ) : MetricsGossip

Adds new remote NodeMetrics and merges existing from a remote gossip.

MetricsGossip ( ImmutableHashSet nodes ) : System
NodeMetricsFor ( Akka.Actor.Address address ) : NodeMetrics

Returns NodeMetrics for a node if exists.

Remove ( Akka.Actor.Address node ) : MetricsGossip

Remove nodes if their correlating node ring members are not MemberStatus.Up

operator ( ) : MetricsGossip

Adds new local NodeMetrics or merges an existing one.

Private Methods

Method Description
Equals ( MetricsGossip other ) : bool

Method Details

Copy() public method

public Copy ( ImmutableHashSet nodes = null ) : MetricsGossip
nodes ImmutableHashSet
return MetricsGossip

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Filter() public method

Only the nodes that are in the includeNodes set.
public Filter ( ImmutableHashSet
includeNodes ) : MetricsGossip
includeNodes ImmutableHashSet
return MetricsGossip

GetHashCode() public method

public GetHashCode ( ) : int
return int

Merge() public method

Adds new remote NodeMetrics and merges existing from a remote gossip.
public Merge ( MetricsGossip otherGossip ) : MetricsGossip
otherGossip MetricsGossip
return MetricsGossip

MetricsGossip() public method

public MetricsGossip ( ImmutableHashSet nodes ) : System
nodes ImmutableHashSet
return System

NodeMetricsFor() public method

Returns NodeMetrics for a node if exists.
public NodeMetricsFor ( Akka.Actor.Address address ) : NodeMetrics
address Akka.Actor.Address
return NodeMetrics

Remove() public method

Remove nodes if their correlating node ring members are not MemberStatus.Up
public Remove ( Akka.Actor.Address node ) : MetricsGossip
node Akka.Actor.Address
return MetricsGossip

operator() public static method

Adds new local NodeMetrics or merges an existing one.
public static operator ( ) : MetricsGossip
return MetricsGossip

Property Details

Empty public_oe static_oe property

public static MetricsGossip,Akka.Cluster Empty
return MetricsGossip