public class FlushOptions extends RocksObject
RocksDB.nativeHandle_| Constructor and Description |
|---|
FlushOptions()
Construct a new instance of FlushOptions.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
disposeInternal()
The helper function of
dispose() which all subclasses of
RocksObject must implement to release their associated
C++ resource. |
FlushOptions |
setWaitForFlush(boolean waitForFlush)
Set if the flush operation shall block until it terminates.
|
boolean |
waitForFlush()
Wait for flush to finished.
|
disOwnNativeHandle, dispose, finalize, isInitialized, isOwningNativeHandlepublic FlushOptions setWaitForFlush(boolean waitForFlush)
waitForFlush - boolean value indicating if the flush
operations waits for termination of the flush process.public boolean waitForFlush()
protected void disposeInternal()
RocksObjectdispose() which all subclasses of
RocksObject must implement to release their associated
C++ resource.disposeInternal in class RocksObject