public static interface Translog.Snapshot extends Releasable
Modifier and Type | Method and Description |
---|---|
int |
estimatedTotalOperations()
The total number of operations in the translog.
|
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()
Returns the next operation, or null when no more operations are found
|
long |
position()
Returns the current position in the translog stream
|
void |
seekTo(long position)
Seek to the specified position in the translog stream
|
long |
translogId()
The id of the translog the snapshot was taken with.
|
close
long translogId()
long position()
long length()
int estimatedTotalOperations()
Translog.Operation next()
void seekTo(long position)
long lengthInBytes()
Copyright © 2009–2015. All rights reserved.