public static final class Translog.View extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
static Translog.View |
EMPTY_VIEW |
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 static final Translog.View EMPTY_VIEW
public long minTranslogGeneration()
public int totalOperations()
public long sizeInBytes()
public Translog.Snapshot snapshot()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2009–2016. All rights reserved.