@InterfaceAudience.Private public class ReplicationBarrierCleaner extends ScheduledChore
HConstants.REPLICATION_BARRIER_FAMILY_STR
family in
meta table.Modifier and Type | Field and Description |
---|---|
private Connection |
conn |
private static int |
DEFAULT_REPLICATION_BARRIER_CLEANER_INTERVAL |
private static org.slf4j.Logger |
LOG |
private ReplicationPeerManager |
peerManager |
private static String |
REPLICATION_BARRIER_CLEANER_INTERVAL |
Constructor and Description |
---|
ReplicationBarrierCleaner(org.apache.hadoop.conf.Configuration conf,
Stoppable stopper,
Connection conn,
ReplicationPeerManager peerManager) |
Modifier and Type | Method and Description |
---|---|
void |
chore()
The task to execute on each scheduled execution of the Chore
|
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNow
private static final org.slf4j.Logger LOG
private static final String REPLICATION_BARRIER_CLEANER_INTERVAL
private static final int DEFAULT_REPLICATION_BARRIER_CLEANER_INTERVAL
private final Connection conn
private final ReplicationPeerManager peerManager
public ReplicationBarrierCleaner(org.apache.hadoop.conf.Configuration conf, Stoppable stopper, Connection conn, ReplicationPeerManager peerManager)
public void chore()
ScheduledChore
chore
in class ScheduledChore
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.