Class Replication.ReplicationStatisticsChore
java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.replication.regionserver.Replication.ReplicationStatisticsChore
- All Implemented Interfaces:
Runnable
- Enclosing class:
- Replication
Statistics task. Periodically prints the cache statistics to the log.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
chore()
The task to execute on each scheduled execution of the Choreprivate void
printStats
(String stats) Methods inherited from class org.apache.hadoop.hbase.ScheduledChore
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNow
-
Constructor Details
-
ReplicationStatisticsChore
ReplicationStatisticsChore(String name, Stoppable stopper, int period)
-
-
Method Details
-
chore
Description copied from class:ScheduledChore
The task to execute on each scheduled execution of the Chore- Specified by:
chore
in classScheduledChore
-
printStats
-