public class JiraClusterService extends Object implements com.atlassian.crowd.service.cluster.ClusterService
Modifier and Type | Field and Description |
---|---|
static String |
SINGLE_NODE_ID |
Constructor and Description |
---|
JiraClusterService(ClusterNodes clusterNodes) |
Modifier and Type | Method and Description |
---|---|
Optional<com.atlassian.crowd.service.cluster.ClusterNode> |
getClusterNode() |
com.atlassian.crowd.service.cluster.ClusterInformation |
getInformation() |
String |
getNodeId() |
boolean |
isAvailable() |
public static final String SINGLE_NODE_ID
public JiraClusterService(ClusterNodes clusterNodes)
public boolean isAvailable()
isAvailable
in interface com.atlassian.crowd.service.cluster.ClusterService
@Nonnull public String getNodeId()
getNodeId
in interface com.atlassian.crowd.service.cluster.ClusterService
public Optional<com.atlassian.crowd.service.cluster.ClusterNode> getClusterNode()
getClusterNode
in interface com.atlassian.crowd.service.cluster.ClusterService
@Nonnull public com.atlassian.crowd.service.cluster.ClusterInformation getInformation()
getInformation
in interface com.atlassian.crowd.service.cluster.ClusterService
Copyright © 2002-2022 Atlassian. All Rights Reserved.