Interface ReplicationMetricsMBean
-
- All Known Implementing Classes:
ReplicationMetrics
public interface ReplicationMetricsMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxReplicationThreads()The total number of threads available to replicate data to peers.intgetNumConfiguredPeers()Peers are systems which data can be replicated to.intgetNumFilesPendingReplication()A system may have multiple Replication targets, each of which have a queue of files to be replicated.
-
-
-
Method Detail
-
getNumFilesPendingReplication
int getNumFilesPendingReplication()
A system may have multiple Replication targets, each of which have a queue of files to be replicated. This returns the sum across all targets, not de-duplicating files.- Returns:
- The number of files pending replication across all targets
-
getMaxReplicationThreads
int getMaxReplicationThreads()
The total number of threads available to replicate data to peers. Each TabletServer has a number of threads devoted to replication, so this value is affected by the number of currently active TabletServers.- Returns:
- The number of threads available to replicate data across the instance
-
getNumConfiguredPeers
int getNumConfiguredPeers()
Peers are systems which data can be replicated to. This is the number of peers that are defined, but this is not necessarily the number of peers which are actively being replicated to.- Returns:
- The number of peers/targets which are defined for data to be replicated to.
-
-