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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidchore()The task to execute on each scheduled execution of the Choreprivate voidprintStats(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:ScheduledChoreThe task to execute on each scheduled execution of the Chore- Specified by:
chorein classScheduledChore
-
printStats
-