Class HRegionServer.CompactionChecker
java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.regionserver.HRegionServer.CompactionChecker
- All Implemented Interfaces:
Runnable
- Enclosing class:
- HRegionServer
Inner class that runs on a long period checking if regions need compaction.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final HRegionServer
private long
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
chore()
The task to execute on each scheduled execution of the ChoreMethods 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
-
Field Details
-
instance
-
majorCompactPriority
-
DEFAULT_PRIORITY
- See Also:
-
iteration
-
-
Constructor Details
-
CompactionChecker
CompactionChecker(HRegionServer h, int sleepTime, Stoppable stopper)
-
-
Method Details
-
chore
Description copied from class:ScheduledChore
The task to execute on each scheduled execution of the Chore- Specified by:
chore
in classScheduledChore
-