@JniClass(name="leveldb::ReadOptions",
flags={STRUCT,CPP})
public class NativeReadOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
fill_cache |
private long |
snapshot |
private boolean |
verify_checksums |
| Constructor and Description |
|---|
NativeReadOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fillCache() |
NativeReadOptions |
fillCache(boolean fill_cache) |
NativeSnapshot |
snapshot() |
NativeReadOptions |
snapshot(NativeSnapshot snapshot) |
boolean |
verifyChecksums() |
NativeReadOptions |
verifyChecksums(boolean verify_checksums) |
@JniField private boolean verify_checksums
@JniField private boolean fill_cache
@JniField(cast="const leveldb::Snapshot*") private long snapshot
public boolean fillCache()
public NativeReadOptions fillCache(boolean fill_cache)
public NativeSnapshot snapshot()
public NativeReadOptions snapshot(NativeSnapshot snapshot)
public boolean verifyChecksums()
public NativeReadOptions verifyChecksums(boolean verify_checksums)