public static interface TxnLog.TxnIterator
Modifier and Type | Method and Description |
---|---|
void |
close()
close files and release the
resources
|
TxnHeader |
getHeader()
return the transaction header.
|
long |
getStorageSize()
Get an estimated storage space used to store transaction records
that will return by this iterator
|
Record |
getTxn()
return the transaction record.
|
boolean |
next()
go to the next transaction record.
|
TxnHeader getHeader()
Record getTxn()
boolean next() throws IOException
IOException
void close() throws IOException
IOException
long getStorageSize() throws IOException
IOException
Copyright © 2008–2019 The Apache Software Foundation. All rights reserved.