@Component public class ClusterMonitoringDelegator extends Object implements com.atlassian.cluster.monitoring.spi.ClusterMonitoring
ClusterService
Modifier and Type | Field and Description |
---|---|
static String |
PERCENT_FORMAT |
static String |
PERCENT_HEAP |
static String |
PERCENT_LOAD |
static String |
UPTIME |
Constructor and Description |
---|
ClusterMonitoringDelegator(ClusterService clusterService,
com.atlassian.sal.api.message.I18nResolver i18nResolver) |
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 moduleCompleteKey,
com.atlassian.cluster.monitoring.spi.model.NodeIdentifier nodeIdentifier) |
com.atlassian.fugue.Either<com.atlassian.cluster.monitoring.spi.model.MonitoringError,List<com.atlassian.cluster.monitoring.spi.model.NodeInformation>> |
getNodes() |
boolean |
isAvailable() |
public static final String PERCENT_HEAP
public static final String PERCENT_LOAD
public static final String UPTIME
public static final String PERCENT_FORMAT
@Autowired public ClusterMonitoringDelegator(ClusterService clusterService, com.atlassian.sal.api.message.I18nResolver i18nResolver)
@Nonnull 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
@Nonnull 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
@Nonnull public 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)
getData
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
public boolean isAvailable()
isAvailable
in interface com.atlassian.cluster.monitoring.spi.ClusterMonitoring
Copyright © 2020 Atlassian. All rights reserved.