Class RecoveredReplicationSourceShipper
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceShipper
org.apache.hadoop.hbase.replication.regionserver.RecoveredReplicationSourceShipper
- All Implemented Interfaces:
Runnable
Used by a
RecoveredReplicationSource
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceShipper
ReplicationSourceShipper.WorkerState
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final ReplicationQueueStorage
protected final RecoveredReplicationSource
Fields inherited from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceShipper
entryReader, logQueue, maxRetriesMultiplier, sleepForRetries, walGroupId
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionRecoveredReplicationSourceShipper
(org.apache.hadoop.conf.Configuration conf, String walGroupId, ReplicationSourceLogQueue logQueue, RecoveredReplicationSource source, ReplicationQueueStorage queueStorage) -
Method Summary
Modifier and TypeMethodDescriptionprivate long
long
protected void
protected void
private void
Methods inherited from class org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceShipper
clearWALEntryBatch, getCurrentPath, getCurrentPosition, isActive, isFinished, run, setWALReader, setWorkerState, sleepForRetries, startup, stopWorker
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
-
Field Details
-
LOG
-
source
-
replicationQueues
-
-
Constructor Details
-
RecoveredReplicationSourceShipper
public RecoveredReplicationSourceShipper(org.apache.hadoop.conf.Configuration conf, String walGroupId, ReplicationSourceLogQueue logQueue, RecoveredReplicationSource source, ReplicationQueueStorage queueStorage)
-
-
Method Details
-
noMoreData
- Overrides:
noMoreData
in classReplicationSourceShipper
-
postFinish
- Overrides:
postFinish
in classReplicationSourceShipper
-
getStartPosition
- Overrides:
getStartPosition
in classReplicationSourceShipper
-
getRecoveredQueueStartPos
-
terminate
-