public class JniSnapshot
extends java.lang.Object
implements org.iq80.leveldb.Snapshot
| Modifier and Type | Field and Description |
|---|---|
private NativeDB |
db |
private NativeSnapshot |
snapshot |
| Constructor and Description |
|---|
JniSnapshot(NativeDB db,
NativeSnapshot snapshot) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
(package private) NativeSnapshot |
snapshot() |
private final NativeDB db
private final NativeSnapshot snapshot
JniSnapshot(NativeDB db, NativeSnapshot snapshot)
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableNativeSnapshot snapshot()