Class ReplicationBarrierCleaner
java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.master.cleaner.ReplicationBarrierCleaner
- All Implemented Interfaces:
Runnable
Used to clean the useless barriers in
HConstants.REPLICATION_BARRIER_FAMILY_STR
family in
meta table.-
Field Summary
Modifier and TypeFieldDescriptionprivate final Connection
private static final int
private static final org.slf4j.Logger
private final ReplicationPeerManager
private static final String
-
Constructor Summary
ConstructorDescriptionReplicationBarrierCleaner
(org.apache.hadoop.conf.Configuration conf, Stoppable stopper, Connection conn, ReplicationPeerManager peerManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
LOG
-
REPLICATION_BARRIER_CLEANER_INTERVAL
- See Also:
-
DEFAULT_REPLICATION_BARRIER_CLEANER_INTERVAL
- See Also:
-
conn
-
peerManager
-
-
Constructor Details
-
ReplicationBarrierCleaner
public ReplicationBarrierCleaner(org.apache.hadoop.conf.Configuration conf, Stoppable stopper, Connection conn, ReplicationPeerManager peerManager)
-
-
Method Details
-
chore
Description copied from class:ScheduledChore
The task to execute on each scheduled execution of the Chore- Specified by:
chore
in classScheduledChore
-