public class Translog.View
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
minTranslogGeneration()
this smallest translog generation in this view
|
long |
sizeInBytes()
Returns the size in bytes of the files behind the view.
|
Translog.Snapshot |
snapshot()
create a snapshot from this view
|
int |
totalOperations()
The total number of operations in the view.
|
public long minTranslogGeneration()
public int totalOperations()
public long sizeInBytes()
public Translog.Snapshot snapshot()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException