@Component public class ClusterMonitoringImpl extends Object implements com.atlassian.cluster.monitoring.spi.ClusterMonitoring
Constructor and Description |
---|
ClusterMonitoringImpl(ClusteredCache clusteredCache,
NodeAttributesProvider nodeAttributesProvider,
ClusterManager clusterManager,
FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
enableClustering()
Jira returns false as Cluster setup via UI is not supported
|
io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.NodeIdentifier> |
getCurrentNode() |
io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.Table> |
getData(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey,
com.atlassian.cluster.monitoring.spi.model.NodeIdentifier nodeIdentifier) |
io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> |
getNodes()
Returns
a list of nodes in the screen order, which is
current node first
then active nodes
then no_heartbeat nodes (i.e. |
boolean |
isAvailable() |
boolean |
isClusterSetupEnabled()
Jira returns false as Cluster setup via UI is not supported
|
boolean |
isDataCenterLicensed()
Jira returns false as Cluster setup via UI is not supported
|
public static final String I18N_KEY
public ClusterMonitoringImpl(ClusteredCache clusteredCache, NodeAttributesProvider nodeAttributesProvider, ClusterManager clusterManager, FeatureManager featureManager)
@Nonnull public io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> getNodes()
a list of nodes
in the screen order, which is
getNodes
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
@Nonnull public io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.NodeIdentifier> getCurrentNode()
getCurrentNode
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
@Nonnull public io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.Table> getData(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey, com.atlassian.cluster.monitoring.spi.model.NodeIdentifier nodeIdentifier)
getData
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
public boolean isAvailable()
isAvailable
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
public boolean enableClustering()
enableClustering
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
ClusterMonitoring.enableClustering()
public boolean isDataCenterLicensed()
isDataCenterLicensed
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
()
public boolean isClusterSetupEnabled()
isClusterSetupEnabled
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
()
Copyright © 2002-2021 Atlassian. All Rights Reserved.