C# Класс Akka.Remote.DeadlineFailureDetector

Implementation of failure detector using an absolute timeout of missing heartbeats to trigger unavailability
Наследование: Akka.Remote.FailureDetector
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DeadlineFailureDetector ( Config config, EventStream ev ) : System

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

Защищенные методы

Метод Описание
DeadlineFailureDetector ( System.Clock clock ) : System

Приватные методы

Метод Описание
IsAvailableTicks ( long timestamp ) : bool

Описание методов

DeadlineFailureDetector() защищенный Метод

protected DeadlineFailureDetector ( System.Clock clock ) : System
clock System.Clock
Результат System

DeadlineFailureDetector() публичный Метод

Constructor that reads parameters from an Akka Config section. Expects property 'acceptable-heartbeat-pause'.
public DeadlineFailureDetector ( Config config, EventStream ev ) : System
config Akka.Configuration.Config
ev Akka.Event.EventStream
Результат System

DeadlineFailureDetector() публичный Метод

Procedural constructor for DeadlineFailureDetector
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

HeartBeat() публичный Метод

public HeartBeat ( ) : void
Результат void