Thread.State, Thread.UncaughtExceptionHandlerMAX_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) |
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, yieldpublic 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(org.apache.hadoop.hbase.replication.regionserver.WALEntryStream entryStream, org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch batch) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected final boolean addEntryToBatch(org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch batch, WAL.Entry entry)
protected static final boolean switched(org.apache.hadoop.hbase.replication.regionserver.WALEntryStream entryStream, org.apache.hadoop.fs.Path path)
public org.apache.hadoop.fs.Path getCurrentPath()
public org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch take() throws InterruptedException
InterruptedException - if interrupted while waitingpublic org.apache.hadoop.hbase.replication.regionserver.WALEntryBatch poll(long timeout) throws InterruptedException
InterruptedExceptionpublic static long getEntrySizeExcludeBulkLoad(WAL.Entry entry)
public boolean isReaderRunning()
public void setReaderRunning(boolean readerRunning)
readerRunning - the readerRunning to setCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.