public class FailureDetector extends Object implements IDetector
Constructor and Description |
---|
FailureDetector(ClusterStateContext.HeartbeatCounter heartbeatCounter,
String localEndpoint) |
Modifier and Type | Method and Description |
---|---|
PollReport |
poll(Layout layout,
CorfuRuntime corfuRuntime,
SequencerMetrics sequencerMetrics)
Executes the policy once.
|
public FailureDetector(ClusterStateContext.HeartbeatCounter heartbeatCounter, String localEndpoint)
public PollReport poll(@Nonnull Layout layout, @Nonnull CorfuRuntime corfuRuntime, @NonNull SequencerMetrics sequencerMetrics)
Copyright © 2019 CorfuDB. All rights reserved.