Table of Contents

Class EnvOptions

Namespace
Org.Rocksdb
Assembly
MASES.KNet.dll
public class EnvOptions : RocksObject, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAutoCloseable
Inheritance
EnvOptions
Implements
Inherited Members

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

initializer IJVMBridgeBaseInitializer

EnvOptions(DBOptions)

public EnvOptions(DBOptions arg0)

Parameters

arg0 DBOptions

DBOptions

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

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AllowFallocate()

public bool AllowFallocate()

Returns

bool

bool

BytesPerSync()

public long BytesPerSync()

Returns

long

long

CompactionReadaheadSize()

public long CompactionReadaheadSize()

Returns

long

long

FallocateWithKeepSize()

public bool FallocateWithKeepSize()

Returns

bool

bool

RateLimiter()

public RateLimiter RateLimiter()

Returns

RateLimiter

RateLimiter

SetAllowFallocate(bool)

public EnvOptions SetAllowFallocate(bool arg0)

Parameters

arg0 bool

bool

Returns

EnvOptions

EnvOptions

SetBytesPerSync(long)

public EnvOptions SetBytesPerSync(long arg0)

Parameters

arg0 long

long

Returns

EnvOptions

EnvOptions

SetCompactionReadaheadSize(long)

public EnvOptions SetCompactionReadaheadSize(long arg0)

Parameters

arg0 long

long

Returns

EnvOptions

EnvOptions

SetFallocateWithKeepSize(bool)

public EnvOptions SetFallocateWithKeepSize(bool arg0)

Parameters

arg0 bool

bool

Returns

EnvOptions

EnvOptions

SetFdCloexec()

public bool SetFdCloexec()

Returns

bool

bool

SetRateLimiter(RateLimiter)

public EnvOptions SetRateLimiter(RateLimiter arg0)

Parameters

arg0 RateLimiter

RateLimiter

Returns

EnvOptions

EnvOptions

SetSetFdCloexec(bool)

public EnvOptions SetSetFdCloexec(bool arg0)

Parameters

arg0 bool

bool

Returns

EnvOptions

EnvOptions

SetUseDirectReads(bool)

public EnvOptions SetUseDirectReads(bool arg0)

Parameters

arg0 bool

bool

Returns

EnvOptions

EnvOptions

SetUseDirectWrites(bool)

public EnvOptions SetUseDirectWrites(bool arg0)

Parameters

arg0 bool

bool

Returns

EnvOptions

EnvOptions

SetUseMmapReads(bool)

public EnvOptions SetUseMmapReads(bool arg0)

Parameters

arg0 bool

bool

Returns

EnvOptions

EnvOptions

SetUseMmapWrites(bool)

public EnvOptions SetUseMmapWrites(bool arg0)

Parameters

arg0 bool

bool

Returns

EnvOptions

EnvOptions

SetWritableFileMaxBufferSize(long)

public EnvOptions SetWritableFileMaxBufferSize(long arg0)

Parameters

arg0 long

long

Returns

EnvOptions

EnvOptions

UseDirectReads()

public bool UseDirectReads()

Returns

bool

bool

UseDirectWrites()

public bool UseDirectWrites()

Returns

bool

bool

UseMmapReads()

public bool UseMmapReads()

Returns

bool

bool

UseMmapWrites()

public bool UseMmapWrites()

Returns

bool

bool

WritableFileMaxBufferSize()

public long WritableFileMaxBufferSize()

Returns

long

long