@Internal
public interface ClusterMonitoringAdapter
extends com.atlassian.cluster.monitoring.spi.ClusterMonitoring
ClusterMonitoring
interface to convert between old
and new fugue versions. It makes possible to keep legacy fugue in this adapter only instead of leaking it to implementations.Modifier and Type | Method and Description |
---|---|
default io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.NodeIdentifier> |
currentNode() |
default io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.Table> |
data(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey,
com.atlassian.cluster.monitoring.spi.model.NodeIdentifier nodeIdentifier) |
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
currentNode() |
com.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)
Deprecated.
since 7.0.1. Use
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
nodes() |
default io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> |
nodes() |
@Deprecated com.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> getNodes()
nodes()
getNodes
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
default io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> nodes()
@Deprecated com.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.NodeIdentifier> getCurrentNode()
currentNode()
getCurrentNode
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
default io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.NodeIdentifier> currentNode()
@Deprecated com.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)
data(ModuleCompleteKey, NodeIdentifier)
getData
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
default io.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,com.atlassian.cluster.monitoring.spi.model.Table> data(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey, com.atlassian.cluster.monitoring.spi.model.NodeIdentifier nodeIdentifier)
Copyright © 2003–2019 Atlassian. All rights reserved.