@InterfaceAudience.Private public class SerialReplicationSourceWALReader extends ReplicationSourceWALReader
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private SerialReplicationChecker |
checker |
private Cell |
firstCellInEntryBeforeFiltering |
entryBatchQueueMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
SerialReplicationSourceWALReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
ReplicationSourceLogQueue logQueue,
long startPosition,
WALEntryFilter filter,
ReplicationSource source,
String walGroupId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
readWALEntries(WALEntryStream entryStream,
WALEntryBatch batch) |
private void |
removeEntryFromStream(WALEntryStream entryStream,
WALEntryBatch batch) |
addEntryToBatch, filterEntry, getCurrentPath, getEntrySizeExcludeBulkLoad, isReaderRunning, poll, run, setReaderRunning, switched, takeactiveCount, 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, yieldprivate Cell firstCellInEntryBeforeFiltering
private final SerialReplicationChecker checker
public SerialReplicationSourceWALReader(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, ReplicationSourceLogQueue logQueue, long startPosition, WALEntryFilter filter, ReplicationSource source, String walGroupId)
protected void readWALEntries(WALEntryStream entryStream, WALEntryBatch batch) throws IOException, InterruptedException
readWALEntries in class ReplicationSourceWALReaderIOExceptionInterruptedExceptionprivate void removeEntryFromStream(WALEntryStream entryStream, WALEntryBatch batch) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.