public class LogReader extends Object
Constructor and Description |
---|
LogReader(FileChannel fileChannel,
LogMonitor monitor,
boolean verifyChecksums,
long initialOffset) |
Modifier and Type | Method and Description |
---|---|
long |
getLastRecordOffset() |
boolean |
readNextBlock() |
Slice |
readRecord() |
public LogReader(FileChannel fileChannel, LogMonitor monitor, boolean verifyChecksums, long initialOffset)
public long getLastRecordOffset()
public Slice readRecord()
public boolean readNextBlock()
Copyright © 2011–2019. All rights reserved.