Class ConfluenceCrowdClusterNode
- java.lang.Object
-
- com.atlassian.confluence.impl.user.crowd.cluster.ConfluenceCrowdClusterNode
-
- All Implemented Interfaces:
com.atlassian.crowd.service.cluster.ClusterNode
public final class ConfluenceCrowdClusterNode extends Object implements com.atlassian.crowd.service.cluster.ClusterNode
- Since:
- 7.11.0
-
-
Constructor Summary
Constructors Constructor Description ConfluenceCrowdClusterNode(ClusterNodeInformation nodeInformation, boolean isCurrentNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<com.atlassian.crowd.service.cluster.ClusterNodeDetails>
getDetails()
Instant
getLastHeartbeat()
String
getNodeId()
@Nullable String
getNodeName()
boolean
isLocal()
-
-
-
Constructor Detail
-
ConfluenceCrowdClusterNode
public ConfluenceCrowdClusterNode(ClusterNodeInformation nodeInformation, boolean isCurrentNode)
-
-
Method Detail
-
getNodeId
public String getNodeId()
- Specified by:
getNodeId
in interfacecom.atlassian.crowd.service.cluster.ClusterNode
-
getNodeName
public @Nullable String getNodeName()
- Specified by:
getNodeName
in interfacecom.atlassian.crowd.service.cluster.ClusterNode
-
getLastHeartbeat
public Instant getLastHeartbeat()
- Specified by:
getLastHeartbeat
in interfacecom.atlassian.crowd.service.cluster.ClusterNode
-
isLocal
public boolean isLocal()
- Specified by:
isLocal
in interfacecom.atlassian.crowd.service.cluster.ClusterNode
-
getDetails
public Optional<com.atlassian.crowd.service.cluster.ClusterNodeDetails> getDetails()
- Specified by:
getDetails
in interfacecom.atlassian.crowd.service.cluster.ClusterNode
-
-