public static interface TxnLog.TxnIterator extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
close files and release the
resources
|
TxnDigest |
getDigest() |
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()
TxnDigest getDigest()
boolean next() throws IOException
IOException
void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException
long getStorageSize() throws IOException
IOException
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.