public class ReplicationMetrics extends AbstractMetricsImpl implements ReplicationMetricsMBean
AbstractMetricsImpl.MetricMASTER_NAME, PREFIX, THRIFT_NAME, TSERVER_NAME| Modifier and Type | Method and Description |
|---|---|
int |
getMaxReplicationThreads()
The total number of threads available to replicate data to peers.
|
protected String |
getMetricsPrefix() |
int |
getNumConfiguredPeers()
Peers are systems which data can be replicated to.
|
int |
getNumFilesPendingReplication()
A system may have multiple Replication targets, each of which have a queue of files to be replicated.
|
protected ObjectName |
getObjectName() |
add, createMetric, finalize, getMetricAvg, getMetricCount, getMetricMax, getMetricMin, isEnabled, register, registerpublic int getNumFilesPendingReplication()
ReplicationMetricsMBeangetNumFilesPendingReplication in interface ReplicationMetricsMBeanpublic int getNumConfiguredPeers()
ReplicationMetricsMBeangetNumConfiguredPeers in interface ReplicationMetricsMBeanpublic int getMaxReplicationThreads()
ReplicationMetricsMBeangetMaxReplicationThreads in interface ReplicationMetricsMBeanprotected ObjectName getObjectName()
getObjectName in class AbstractMetricsImplprotected String getMetricsPrefix()
getMetricsPrefix in class AbstractMetricsImplCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.