Class EnvOptions
public class EnvOptions : RocksObject, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAutoCloseable
- Inheritance
-
EnvOptions
- Implements
- Inherited Members
-
JVMBridgeBase<AutoCloseable>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<AutoCloseable>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<AutoCloseable>.SExecuteWithSignatureArray<TArrayType>(string, string, params object[])
Constructors
EnvOptions()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public EnvOptions()
EnvOptions(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public EnvOptions(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
EnvOptions(DBOptions)
public EnvOptions(DBOptions arg0)
Parameters
EnvOptions(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public EnvOptions(params object[] args)
Parameters
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
AllowFallocate()
public bool AllowFallocate()
Returns
BytesPerSync()
public long BytesPerSync()
Returns
CompactionReadaheadSize()
public long CompactionReadaheadSize()
Returns
FallocateWithKeepSize()
public bool FallocateWithKeepSize()
Returns
RateLimiter()
public RateLimiter RateLimiter()
Returns
SetAllowFallocate(bool)
public EnvOptions SetAllowFallocate(bool arg0)
Parameters
Returns
SetBytesPerSync(long)
public EnvOptions SetBytesPerSync(long arg0)
Parameters
Returns
SetCompactionReadaheadSize(long)
public EnvOptions SetCompactionReadaheadSize(long arg0)
Parameters
Returns
SetFallocateWithKeepSize(bool)
public EnvOptions SetFallocateWithKeepSize(bool arg0)
Parameters
Returns
SetFdCloexec()
public bool SetFdCloexec()
Returns
SetRateLimiter(RateLimiter)
public EnvOptions SetRateLimiter(RateLimiter arg0)
Parameters
arg0RateLimiter
Returns
SetSetFdCloexec(bool)
public EnvOptions SetSetFdCloexec(bool arg0)
Parameters
Returns
SetUseDirectReads(bool)
public EnvOptions SetUseDirectReads(bool arg0)
Parameters
Returns
SetUseDirectWrites(bool)
public EnvOptions SetUseDirectWrites(bool arg0)
Parameters
Returns
SetUseMmapReads(bool)
public EnvOptions SetUseMmapReads(bool arg0)
Parameters
Returns
SetUseMmapWrites(bool)
public EnvOptions SetUseMmapWrites(bool arg0)
Parameters
Returns
SetWritableFileMaxBufferSize(long)
public EnvOptions SetWritableFileMaxBufferSize(long arg0)
Parameters
Returns
UseDirectReads()
public bool UseDirectReads()
Returns
UseDirectWrites()
public bool UseDirectWrites()
Returns
UseMmapReads()
public bool UseMmapReads()
Returns
UseMmapWrites()
https://www.javadoc.io/doc/org.rocksdb/rocksdbjni/10.1.3/org/rocksdb/EnvOptions.html#useMmapWrites()
public bool UseMmapWrites()
Returns
WritableFileMaxBufferSize()
public long WritableFileMaxBufferSize()