public interface TransactionLogReader extends Closeable
TransactionLog
instances.Modifier and Type | Method and Description |
---|---|
TransactionEdit |
next()
Returns the next
TransactionEdit from the log file, based on the current position, or null
if the end of the file has been reached. |
TransactionEdit |
next(TransactionEdit reuse)
Populates
reuse with the next TransactionEdit , based on the reader's current position in the
log file. |
TransactionEdit next() throws IOException
TransactionEdit
from the log file, based on the current position, or null
if the end of the file has been reached.IOException
TransactionEdit next(TransactionEdit reuse) throws IOException
reuse
with the next TransactionEdit
, based on the reader's current position in the
log file.reuse
- The TransactionEdit
instance to populate with the log entry data.TransactionEdit
instance, or null
if the end of the file has been reached.IOException
- If an error is encountered reading the log data.Copyright © 2016 The Apache Software Foundation. All rights reserved.