|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotThreadSafe public static interface Translog.Snapshot
A snapshot of the transaction log, allows to iterate over all the transaction log operations.
Method Summary | |
---|---|
boolean |
hasNext()
|
long |
length()
Returns the internal length (*not* number of operations) of this snapshot. |
long |
lengthInBytes()
The length in bytes of this stream. |
Translog.Operation |
next()
|
long |
position()
|
void |
seekForward(long length)
|
int |
snapshotOperations()
The number of operations in this snapshot. |
java.io.InputStream |
stream()
Returns a stream of this snapshot. |
int |
totalOperations()
The total number of operations in the translog. |
long |
translogId()
The id of the translog the snapshot was taken with. |
Methods inherited from interface org.elasticsearch.common.lease.Releasable |
---|
release |
Method Detail |
---|
long translogId()
long position()
long length()
int totalOperations()
int snapshotOperations()
boolean hasNext()
Translog.Operation next()
void seekForward(long length)
java.io.InputStream stream() throws java.io.IOException
java.io.IOException
long lengthInBytes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |