C# Class Akka.Cluster.NodeMetrics

The snapshot of current sampled health metrics for any monitored process. Collected and gossiped at regular intervals for dynamic cluster management strategies. Equality of NodeMetrics is based on its Address.
ファイルを表示 Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
Copy ( Akka.Actor.Address address = null, long timestamp = null, ImmutableHashSet metrics = null ) : NodeMetrics
Equals ( object obj ) : bool
GetHashCode ( ) : int
Merge ( NodeMetrics that ) : NodeMetrics

Returns the most recent data

Metric ( string key ) : Metric

Return the metric that matches key. Returns null if not found.

NodeMetrics ( Akka.Actor.Address address, long timestamp ) : System
NodeMetrics ( Akka.Actor.Address address, long timestamp, ImmutableHashSet metrics ) : System

Protected Methods

Method Description
Equals ( NodeMetrics other ) : bool

Method Details

Copy() public method

public Copy ( Akka.Actor.Address address = null, long timestamp = null, ImmutableHashSet metrics = null ) : NodeMetrics
address Akka.Actor.Address
timestamp long
metrics ImmutableHashSet
return NodeMetrics

Equals() protected method

protected Equals ( NodeMetrics other ) : bool
other NodeMetrics
return bool

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

Merge() public method

Returns the most recent data
public Merge ( NodeMetrics that ) : NodeMetrics
that NodeMetrics
return NodeMetrics

Metric() public method

Return the metric that matches key. Returns null if not found.
public Metric ( string key ) : Metric
key string
return Metric

NodeMetrics() public method

public NodeMetrics ( Akka.Actor.Address address, long timestamp ) : System
address Akka.Actor.Address
timestamp long
return System

NodeMetrics() public method

public NodeMetrics ( Akka.Actor.Address address, long timestamp, ImmutableHashSet metrics ) : System
address Akka.Actor.Address
timestamp long
metrics ImmutableHashSet
return System