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). |
Результат | System |
DeadlineFailureDetector::DeadlineFailureDetector ( System.Clock clock ) : System | |
DeadlineFailureDetector::DeadlineFailureDetector ( |