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
FieldsModifier and TypeFieldDescriptionprivate final Connectionprivate static final intprivate static final org.slf4j.Loggerprivate final ReplicationPeerManagerprivate static final String -
Constructor Summary
ConstructorsConstructorDescriptionReplicationBarrierCleaner(org.apache.hadoop.conf.Configuration conf, Stoppable stopper, Connection conn, ReplicationPeerManager peerManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidchore()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:ScheduledChoreThe task to execute on each scheduled execution of the Chore- Specified by:
chorein classScheduledChore
-