public class NullClusterNodeHeartbeatService extends Object implements com.atlassian.beehive.db.ClusterNodeHeartbeatService
Constructor and Description |
---|
NullClusterNodeHeartbeatService() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
findLiveNodes() |
Collection<String> |
findLiveNodes(long threshold) |
Long |
getLastHeartbeatTime(String nodeId) |
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
Copyright © 2002-2019 Atlassian. All Rights Reserved.