Table of Contents

Class DBOptionsInterface<T>

Namespace
Org.Rocksdb
Assembly
MASES.KNet.dll
public class DBOptionsInterface<T> : JVMBridgeBase<DBOptionsInterface<T>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IDBOptionsInterface<T> where T : DBOptionsInterface<T>

Type Parameters

T

DBOptionsInterface<T>

Inheritance
DBOptionsInterface<T>
Implements
Inherited Members

Constructors

DBOptionsInterface()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("DBOptionsInterface class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public DBOptionsInterface()

DBOptionsInterface(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public DBOptionsInterface(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

DBOptionsInterface(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

[Obsolete("DBOptionsInterface class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public DBOptionsInterface(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

Env

public Env Env { get; }

Property Value

Env

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

AdviseRandomOnOpen()

public bool AdviseRandomOnOpen()

Returns

bool

bool

Allow2pc()

public bool Allow2pc()

Returns

bool

bool

AllowConcurrentMemtableWrite()

public bool AllowConcurrentMemtableWrite()

Returns

bool

bool

AllowFAllocate()

public bool AllowFAllocate()

Returns

bool

bool

AllowIngestBehind()

public bool AllowIngestBehind()

Returns

bool

bool

AllowMmapReads()

public bool AllowMmapReads()

Returns

bool

bool

AllowMmapWrites()

public bool AllowMmapWrites()

Returns

bool

bool

AtomicFlush()

public bool AtomicFlush()

Returns

bool

bool

AvoidFlushDuringRecovery()

public bool AvoidFlushDuringRecovery()

Returns

bool

bool

AvoidUnnecessaryBlockingIO()

public bool AvoidUnnecessaryBlockingIO()

Returns

bool

bool

BestEffortsRecovery()

public bool BestEffortsRecovery()

Returns

bool

bool

BgerrorResumeRetryInterval()

public long BgerrorResumeRetryInterval()

Returns

long

long

CreateIfMissing()

public bool CreateIfMissing()

Returns

bool

bool

CreateMissingColumnFamilies()

public bool CreateMissingColumnFamilies()

Returns

bool

bool

DailyOffpeakTimeUTC()

public String DailyOffpeakTimeUTC()

Returns

String

String

DbLogDir()

public String DbLogDir()

Returns

String

String

DbPaths()

public List<DbPath> DbPaths()

Returns

List<DbPath>

List

DbWriteBufferSize()

public long DbWriteBufferSize()

Returns

long

long

DeleteObsoleteFilesPeriodMicros()

public long DeleteObsoleteFilesPeriodMicros()

Returns

long

long

DumpMallocStats()

public bool DumpMallocStats()

Returns

bool

bool

EnablePipelinedWrite()

public bool EnablePipelinedWrite()

Returns

bool

bool

EnableThreadTracking()

public bool EnableThreadTracking()

Returns

bool

bool

EnableWriteThreadAdaptiveYield()

public bool EnableWriteThreadAdaptiveYield()

Returns

bool

bool

ErrorIfExists()

public bool ErrorIfExists()

Returns

bool

bool

FailIfOptionsFileError()

public bool FailIfOptionsFileError()

Returns

bool

bool

InfoLogLevel()

public InfoLogLevel InfoLogLevel()

Returns

InfoLogLevel

InfoLogLevel

IsFdCloseOnExec()

public bool IsFdCloseOnExec()

Returns

bool

bool

KeepLogFileNum()

public long KeepLogFileNum()

Returns

long

long

Listeners()

public List<AbstractEventListener> Listeners()

Returns

List<AbstractEventListener>

List

LogFileTimeToRoll()

public long LogFileTimeToRoll()

Returns

long

long

LogReadaheadSize()

public long LogReadaheadSize()

Returns

long

long

ManifestPreallocationSize()

public long ManifestPreallocationSize()

Returns

long

long

ManualWalFlush()

public bool ManualWalFlush()

Returns

bool

bool

MaxBgerrorResumeCount()

public int MaxBgerrorResumeCount()

Returns

int

int

MaxFileOpeningThreads()

public int MaxFileOpeningThreads()

Returns

int

int

MaxLogFileSize()

public long MaxLogFileSize()

Returns

long

long

MaxManifestFileSize()

public long MaxManifestFileSize()

Returns

long

long

MaxSubcompactions()

public int MaxSubcompactions()

Returns

int

int

MaxWriteBatchGroupSizeBytes()

public long MaxWriteBatchGroupSizeBytes()

Returns

long

long

OptimizeForSmallDb()

public T OptimizeForSmallDb()

Returns

T

T

ParanoidChecks()

public bool ParanoidChecks()

Returns

bool

bool

PersistStatsToDisk()

public bool PersistStatsToDisk()

Returns

bool

bool

RecycleLogFileNum()

public long RecycleLogFileNum()

Returns

long

long

RowCache()

public Cache RowCache()

Returns

Cache

Cache

SetAdviseRandomOnOpen(bool)

public T SetAdviseRandomOnOpen(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetAllow2pc(bool)

public T SetAllow2pc(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetAllowConcurrentMemtableWrite(bool)

public T SetAllowConcurrentMemtableWrite(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetAllowFAllocate(bool)

public T SetAllowFAllocate(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetAllowIngestBehind(bool)

public T SetAllowIngestBehind(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetAllowMmapReads(bool)

public T SetAllowMmapReads(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetAllowMmapWrites(bool)

public T SetAllowMmapWrites(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetAtomicFlush(bool)

public T SetAtomicFlush(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetAvoidFlushDuringRecovery(bool)

public T SetAvoidFlushDuringRecovery(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetAvoidUnnecessaryBlockingIO(bool)

public T SetAvoidUnnecessaryBlockingIO(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetBestEffortsRecovery(bool)

public T SetBestEffortsRecovery(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetBgerrorResumeRetryInterval(long)

public T SetBgerrorResumeRetryInterval(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetCreateIfMissing(bool)

public T SetCreateIfMissing(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetCreateMissingColumnFamilies(bool)

public T SetCreateMissingColumnFamilies(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetDailyOffpeakTimeUTC(String)

public T SetDailyOffpeakTimeUTC(String arg0)

Parameters

arg0 String

String

Returns

T

T

SetDbLogDir(String)

public T SetDbLogDir(String arg0)

Parameters

arg0 String

String

Returns

T

T

SetDbPaths(Collection<DbPath>)

public T SetDbPaths(Collection<DbPath> arg0)

Parameters

arg0 Collection<DbPath>

Collection

Returns

T

T

SetDbWriteBufferSize(long)

public T SetDbWriteBufferSize(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetDeleteObsoleteFilesPeriodMicros(long)

public T SetDeleteObsoleteFilesPeriodMicros(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetDumpMallocStats(bool)

public T SetDumpMallocStats(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetEnablePipelinedWrite(bool)

public T SetEnablePipelinedWrite(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetEnableThreadTracking(bool)

public T SetEnableThreadTracking(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetEnableWriteThreadAdaptiveYield(bool)

public T SetEnableWriteThreadAdaptiveYield(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetEnv(Env)

public T SetEnv(Env arg0)

Parameters

arg0 Env

Env

Returns

T

T

SetErrorIfExists(bool)

public T SetErrorIfExists(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetFailIfOptionsFileError(bool)

public T SetFailIfOptionsFileError(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetIncreaseParallelism(int)

public T SetIncreaseParallelism(int arg0)

Parameters

arg0 int

int

Returns

T

T

SetInfoLogLevel(InfoLogLevel)

public T SetInfoLogLevel(InfoLogLevel arg0)

Parameters

arg0 InfoLogLevel

InfoLogLevel

Returns

T

T

SetIsFdCloseOnExec(bool)

public T SetIsFdCloseOnExec(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetKeepLogFileNum(long)

public T SetKeepLogFileNum(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetListeners(List<AbstractEventListener>)

public T SetListeners(List<AbstractEventListener> arg0)

Parameters

arg0 List<AbstractEventListener>

List

Returns

T

T

SetLogFileTimeToRoll(long)

public T SetLogFileTimeToRoll(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetLogReadaheadSize(long)

public T SetLogReadaheadSize(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetLogger(LoggerInterface)

public T SetLogger(LoggerInterface arg0)

Parameters

arg0 LoggerInterface

LoggerInterface

Returns

T

T

SetManifestPreallocationSize(long)

public T SetManifestPreallocationSize(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetManualWalFlush(bool)

public T SetManualWalFlush(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetMaxBgErrorResumeCount(int)

public T SetMaxBgErrorResumeCount(int arg0)

Parameters

arg0 int

int

Returns

T

T

SetMaxFileOpeningThreads(int)

public T SetMaxFileOpeningThreads(int arg0)

Parameters

arg0 int

int

Returns

T

T

SetMaxLogFileSize(long)

public T SetMaxLogFileSize(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetMaxManifestFileSize(long)

public T SetMaxManifestFileSize(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetMaxSubcompactions(int)

public T SetMaxSubcompactions(int arg0)

Parameters

arg0 int

int

Returns

T

T

SetMaxWriteBatchGroupSizeBytes(long)

public T SetMaxWriteBatchGroupSizeBytes(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetParanoidChecks(bool)

public T SetParanoidChecks(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetPersistStatsToDisk(bool)

public T SetPersistStatsToDisk(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetRateLimiter(RateLimiter)

public T SetRateLimiter(RateLimiter arg0)

Parameters

arg0 RateLimiter

RateLimiter

Returns

T

T

SetRecycleLogFileNum(long)

public T SetRecycleLogFileNum(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetRowCache(Cache)

public T SetRowCache(Cache arg0)

Parameters

arg0 Cache

Cache

Returns

T

T

SetSkipCheckingSstFileSizesOnDbOpen(bool)

public T SetSkipCheckingSstFileSizesOnDbOpen(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetSkipStatsUpdateOnDbOpen(bool)

public T SetSkipStatsUpdateOnDbOpen(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetSstFileManager(SstFileManager)

public T SetSstFileManager(SstFileManager arg0)

Parameters

arg0 SstFileManager

SstFileManager

Returns

T

T

SetStatistics(Statistics)

public T SetStatistics(Statistics arg0)

Parameters

arg0 Statistics

Statistics

Returns

T

T

SetTableCacheNumshardbits(int)

public T SetTableCacheNumshardbits(int arg0)

Parameters

arg0 int

int

Returns

T

T

SetTwoWriteQueues(bool)

public T SetTwoWriteQueues(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetUnorderedWrite(bool)

public T SetUnorderedWrite(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetUseAdaptiveMutex(bool)

public T SetUseAdaptiveMutex(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetUseDirectIoForFlushAndCompaction(bool)

public T SetUseDirectIoForFlushAndCompaction(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetUseDirectReads(bool)

public T SetUseDirectReads(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetUseFsync(bool)

public T SetUseFsync(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetWalDir(String)

public T SetWalDir(String arg0)

Parameters

arg0 String

String

Returns

T

T

SetWalFilter(AbstractWalFilter)

public T SetWalFilter(AbstractWalFilter arg0)

Parameters

arg0 AbstractWalFilter

AbstractWalFilter

Returns

T

T

SetWalRecoveryMode(WALRecoveryMode)

public T SetWalRecoveryMode(WALRecoveryMode arg0)

Parameters

arg0 WALRecoveryMode

WALRecoveryMode

Returns

T

T

SetWalSizeLimitMB(long)

public T SetWalSizeLimitMB(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetWalTtlSeconds(long)

public T SetWalTtlSeconds(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetWriteBufferManager(WriteBufferManager)

public T SetWriteBufferManager(WriteBufferManager arg0)

Parameters

arg0 WriteBufferManager

WriteBufferManager

Returns

T

T

SetWriteDbidToManifest(bool)

public T SetWriteDbidToManifest(bool arg0)

Parameters

arg0 bool

bool

Returns

T

T

SetWriteThreadMaxYieldUsec(long)

public T SetWriteThreadMaxYieldUsec(long arg0)

Parameters

arg0 long

long

Returns

T

T

SetWriteThreadSlowYieldUsec(long)

public T SetWriteThreadSlowYieldUsec(long arg0)

Parameters

arg0 long

long

Returns

T

T

SkipCheckingSstFileSizesOnDbOpen()

public bool SkipCheckingSstFileSizesOnDbOpen()

Returns

bool

bool

SkipStatsUpdateOnDbOpen()

public bool SkipStatsUpdateOnDbOpen()

Returns

bool

bool

Statistics()

public Statistics Statistics()

Returns

Statistics

Statistics

TableCacheNumshardbits()

public int TableCacheNumshardbits()

Returns

int

int

TwoWriteQueues()

public bool TwoWriteQueues()

Returns

bool

bool

UnorderedWrite()

public bool UnorderedWrite()

Returns

bool

bool

UseAdaptiveMutex()

public bool UseAdaptiveMutex()

Returns

bool

bool

UseDirectIoForFlushAndCompaction()

public bool UseDirectIoForFlushAndCompaction()

Returns

bool

bool

UseDirectReads()

public bool UseDirectReads()

Returns

bool

bool

UseFsync()

public bool UseFsync()

Returns

bool

bool

WalDir()

public String WalDir()

Returns

String

String

WalFilter()

public WalFilter WalFilter()

Returns

WalFilter

WalFilter

WalRecoveryMode()

public WALRecoveryMode WalRecoveryMode()

Returns

WALRecoveryMode

WALRecoveryMode

WalSizeLimitMB()

public long WalSizeLimitMB()

Returns

long

long

WalTtlSeconds()

public long WalTtlSeconds()

Returns

long

long

WriteBufferManager()

public WriteBufferManager WriteBufferManager()

Returns

WriteBufferManager

WriteBufferManager

WriteDbidToManifest()

public bool WriteDbidToManifest()

Returns

bool

bool

WriteThreadMaxYieldUsec()

public long WriteThreadMaxYieldUsec()

Returns

long

long

WriteThreadSlowYieldUsec()

public long WriteThreadSlowYieldUsec()

Returns

long

long

Operators

implicit operator DBOptionsInterface(DBOptionsInterface<T>)

public static implicit operator DBOptionsInterface(DBOptionsInterface<T> t)

Parameters

t DBOptionsInterface<T>

Returns

DBOptionsInterface