Class ReplicationMetrics

    • Method Detail

      • getNumFilesPendingReplication

        public int getNumFilesPendingReplication()
        Description copied from interface: ReplicationMetricsMBean
        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.
        Specified by:
        getNumFilesPendingReplication in interface ReplicationMetricsMBean
        Returns:
        The number of files pending replication across all targets
      • getNumConfiguredPeers

        public int getNumConfiguredPeers()
        Description copied from interface: ReplicationMetricsMBean
        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.
        Specified by:
        getNumConfiguredPeers in interface ReplicationMetricsMBean
        Returns:
        The number of peers/targets which are defined for data to be replicated to.
      • getMaxReplicationThreads

        public int getMaxReplicationThreads()
        Description copied from interface: ReplicationMetricsMBean
        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.
        Specified by:
        getMaxReplicationThreads in interface ReplicationMetricsMBean
        Returns:
        The number of threads available to replicate data across the instance