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()InstantgetLastHeartbeat()StringgetNodeId()StringgetNodeName()booleanisLocal()
-
-
-
Constructor Detail
-
ConfluenceCrowdClusterNode
public ConfluenceCrowdClusterNode(ClusterNodeInformation nodeInformation, boolean isCurrentNode)
-
-
Method Detail
-
getNodeId
public String getNodeId()
- Specified by:
getNodeIdin interfacecom.atlassian.crowd.service.cluster.ClusterNode
-
getNodeName
@Nullable public String getNodeName()
- Specified by:
getNodeNamein interfacecom.atlassian.crowd.service.cluster.ClusterNode
-
getLastHeartbeat
public Instant getLastHeartbeat()
- Specified by:
getLastHeartbeatin interfacecom.atlassian.crowd.service.cluster.ClusterNode
-
isLocal
public boolean isLocal()
- Specified by:
isLocalin interfacecom.atlassian.crowd.service.cluster.ClusterNode
-
getDetails
public Optional<com.atlassian.crowd.service.cluster.ClusterNodeDetails> getDetails()
- Specified by:
getDetailsin interfacecom.atlassian.crowd.service.cluster.ClusterNode
-
-