@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() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.NodeIdentifier> |
getCurrentNode() |
com.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) |
com.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> |
getNodes() |
boolean |
isAvailable() |
public com.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 com.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 com.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
Copyright © 2003–2017 Atlassian. All rights reserved.