public class NoOpClusterNodeHeartbeatService extends Object implements ClusterHeartbeatService
Constructor and Description |
---|
NoOpClusterNodeHeartbeatService() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
findLiveNodes() |
Collection<String> |
findLiveNodes(long threshold) |
Long |
getLastHeartbeatTime(String nodeId) |
List<ClusterNode> |
getNodeHearbeats() |
String |
getNodeId() |
boolean |
isNodeLive(String nodeId) |
@Nonnull public String getNodeId()
getNodeId
in interface com.atlassian.beehive.db.ClusterNodeHeartbeatService
public boolean isNodeLive(@Nonnull String nodeId)
isNodeLive
in interface com.atlassian.beehive.db.ClusterNodeHeartbeatService
@Nullable public Long getLastHeartbeatTime(@Nonnull String nodeId)
getLastHeartbeatTime
in interface com.atlassian.beehive.db.ClusterNodeHeartbeatService
@Nonnull public Collection<String> findLiveNodes()
findLiveNodes
in interface com.atlassian.beehive.db.ClusterNodeHeartbeatService
@Nonnull public Collection<String> findLiveNodes(long threshold)
findLiveNodes
in interface com.atlassian.beehive.db.ClusterNodeHeartbeatService
public List<ClusterNode> getNodeHearbeats()
getNodeHearbeats
in interface ClusterHeartbeatService
Copyright © 2021 Atlassian. All rights reserved.