public class TransactionLog.LogReader extends Object
Modifier | Constructor and Description |
---|---|
protected |
TransactionLog.LogReader() |
|
TransactionLog.LogReader(long startingPos) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
currentPos() |
long |
currentSize() |
Object |
next()
Returns the next object from the log, or null if none available.
|
String |
toString() |
public TransactionLog.LogReader(long startingPos)
protected TransactionLog.LogReader()
public Object next() throws IOException, InterruptedException
IOException
- If there is a low-level I/O error.InterruptedException
public void close()
public long currentPos()
public long currentSize() throws IOException
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.