Méthode | Description | |
---|---|---|
DeadlineFailureDetector ( |
Constructor that reads parameters from an Akka Config section. Expects property 'acceptable-heartbeat-pause'.
|
|
DeadlineFailureDetector ( System.TimeSpan acceptableHeartbeatPause, System.Clock clock = null ) : System |
Procedural constructor for DeadlineFailureDetector
|
|
HeartBeat ( ) : void |
Méthode | Description | |
---|---|---|
DeadlineFailureDetector ( System.Clock clock ) : System |
Méthode | Description | |
---|---|---|
IsAvailableTicks ( long timestamp ) : bool |
protected DeadlineFailureDetector ( System.Clock clock ) : System | ||
clock | System.Clock | |
Résultat | System |
public DeadlineFailureDetector ( |
||
config | ||
ev | ||
Résultat | System |
public DeadlineFailureDetector ( System.TimeSpan acceptableHeartbeatPause, System.Clock clock = null ) : System | ||
acceptableHeartbeatPause | System.TimeSpan | Duration corresponding to number of potentially lost/delayed /// heartbeats that will be accepted before considering it to be an anomaly. /// This margin is important to be able to survive sudden, occasional, pauses in heartbeat /// arrivals, due to for example garbage collect or network drop. |
clock | System.Clock | The clock, returning current time in milliseconds, but can be faked for testing /// purposes. It is only used for measuring intervals (duration). |
Résultat | System |