final class AbstractRecoveredEditsOutputSink.RecoveredEditsWriter extends Object
WALProvider.Writer
and its Path, also collecting
statistics about the data written to this output.Modifier and Type | Field and Description |
---|---|
(package private) long |
editsSkipped |
(package private) long |
editsWritten |
(package private) byte[] |
encodedRegionName |
(package private) long |
minLogSeqNum |
(package private) long |
nanosSpent |
(package private) org.apache.hadoop.fs.Path |
path |
(package private) WALProvider.Writer |
writer |
Constructor and Description |
---|
RecoveredEditsWriter(byte[] encodedRegionName,
org.apache.hadoop.fs.Path path,
WALProvider.Writer writer,
long minLogSeqNum) |
Modifier and Type | Method and Description |
---|---|
private void |
filterCellByStore(WAL.Entry logEntry) |
private void |
incrementEdits(int edits) |
private void |
incrementNanoTime(long nanos) |
private void |
incrementSkippedEdits(int skipped) |
private void |
logAndThrowWriterAppendFailure(WAL.Entry logEntry,
IOException e) |
(package private) void |
writeRegionEntries(List<WAL.Entry> entries) |
long editsWritten
long editsSkipped
long nanosSpent
final byte[] encodedRegionName
final org.apache.hadoop.fs.Path path
final WALProvider.Writer writer
final long minLogSeqNum
RecoveredEditsWriter(byte[] encodedRegionName, org.apache.hadoop.fs.Path path, WALProvider.Writer writer, long minLogSeqNum)
private void incrementEdits(int edits)
private void incrementSkippedEdits(int skipped)
private void incrementNanoTime(long nanos)
void writeRegionEntries(List<WAL.Entry> entries) throws IOException
IOException
private void logAndThrowWriterAppendFailure(WAL.Entry logEntry, IOException e) throws IOException
IOException
private void filterCellByStore(WAL.Entry logEntry)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.