@Internal public final class NonClusterMonitoring extends Object implements com.atlassian.cluster.monitoring.spi.ClusterMonitoring
ClusterMonitoring
for use when no clustering is
configured. It provides non-sensible default implementation.Constructor and Description |
---|
NonClusterMonitoring(com.atlassian.config.ApplicationConfiguration applicationConfiguration) |
Modifier and Type | Method and Description |
---|---|
boolean |
enableClustering() |
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 key,
com.atlassian.cluster.monitoring.spi.model.NodeIdentifier nodeId) |
io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> |
getNodes() |
boolean |
isAvailable() |
boolean |
isClusterSetupEnabled() |
boolean |
isDataCenterLicensed() |
public NonClusterMonitoring(com.atlassian.config.ApplicationConfiguration applicationConfiguration)
public io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> getNodes()
getNodes
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
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
public io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.Table> getData(com.atlassian.plugin.ModuleCompleteKey key, com.atlassian.cluster.monitoring.spi.model.NodeIdentifier nodeId)
getData
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
public boolean isAvailable()
isAvailable
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
public boolean isDataCenterLicensed()
isDataCenterLicensed
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
public boolean isClusterSetupEnabled()
isClusterSetupEnabled
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
public boolean enableClustering()
enableClustering
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
Copyright © 2003–2020 Atlassian. All rights reserved.