@Internal public final class NonClusterMonitoring extends Object implements ClusterMonitoringAdapter
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()
Deprecated.
since 7.0.1. Use
ClusterMonitoringAdapter.currentNode() |
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)
Deprecated.
since 7.0.1. Use
ClusterMonitoringAdapter.data(ModuleCompleteKey, NodeIdentifier) |
com.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> |
getNodes()
Deprecated.
since 7.0.1. Use
ClusterMonitoringAdapter.nodes() |
boolean |
isAvailable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
currentNode, data, nodes
@Deprecated public com.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> getNodes()
ClusterMonitoringAdapter.nodes()
getNodes
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
getNodes
in interface ClusterMonitoringAdapter
@Deprecated public com.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.NodeIdentifier> getCurrentNode()
ClusterMonitoringAdapter.currentNode()
getCurrentNode
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
getCurrentNode
in interface ClusterMonitoringAdapter
@Deprecated 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)
ClusterMonitoringAdapter.data(ModuleCompleteKey, NodeIdentifier)
getData
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
getData
in interface ClusterMonitoringAdapter
public boolean isAvailable()
isAvailable
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
Copyright © 2003–2019 Atlassian. All rights reserved.