public class ComparatorOptions extends RocksObject
nativeHandle_| Constructor and Description |
|---|
ComparatorOptions() |
| 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. |
ComparatorOptions |
setUseAdaptiveMutex(boolean useAdaptiveMutex)
Use adaptive mutex, which spins in the user space before resorting
to kernel.
|
boolean |
useAdaptiveMutex()
Use adaptive mutex, which spins in the user space before resorting
to kernel.
|
disOwnNativeHandle, dispose, finalize, isInitialized, isOwningNativeHandlepublic boolean useAdaptiveMutex()
public ComparatorOptions setUseAdaptiveMutex(boolean useAdaptiveMutex)
useAdaptiveMutex - true if adaptive mutex is used.protected void disposeInternal()
RocksObjectdispose() which all subclasses of
RocksObject must implement to release their associated
C++ resource.disposeInternal in class RocksObject