Class SstFileManager
public class SstFileManager : RocksObject, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAutoCloseable
- Inheritance
-
SstFileManager
- 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
SstFileManager()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public SstFileManager()
SstFileManager(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SstFileManager(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
SstFileManager(Env)
public SstFileManager(Env arg0)
Parameters
Exceptions
SstFileManager(Env, Logger)
public SstFileManager(Env arg0, Logger arg1)
Parameters
Exceptions
SstFileManager(Env, Logger, long)
public SstFileManager(Env arg0, Logger arg1, long arg2)
Parameters
Exceptions
SstFileManager(Env, Logger, long, double)
public SstFileManager(Env arg0, Logger arg1, long arg2, double arg3)
Parameters
Exceptions
SstFileManager(Env, Logger, long, double, long)
public SstFileManager(Env arg0, Logger arg1, long arg2, double arg3, long arg4)
Parameters
Exceptions
SstFileManager(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 SstFileManager(params object[] args)
Parameters
argsobject[]
Properties
BYTES_MAX_DELETE_CHUNK_DEFAULT
public static long BYTES_MAX_DELETE_CHUNK_DEFAULT { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DELETE_EXISTING_TRASH_DEFAULT
public static bool DELETE_EXISTING_TRASH_DEFAULT { get; }
Property Value
DeleteRateBytesPerSecond
https://www.javadoc.io/doc/org.rocksdb/rocksdbjni/10.1.3/org/rocksdb/SstFileManager.html#getDeleteRateBytesPerSecond() https://www.javadoc.io/doc/org.rocksdb/rocksdbjni/10.1.3/org/rocksdb/SstFileManager.html#setDeleteRateBytesPerSecond(long)
public long DeleteRateBytesPerSecond { get; set; }
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
MAX_TRASH_DB_RATION_DEFAULT
public static double MAX_TRASH_DB_RATION_DEFAULT { get; }
Property Value
MaxTrashDBRatio
https://www.javadoc.io/doc/org.rocksdb/rocksdbjni/10.1.3/org/rocksdb/SstFileManager.html#getMaxTrashDBRatio() https://www.javadoc.io/doc/org.rocksdb/rocksdbjni/10.1.3/org/rocksdb/SstFileManager.html#setMaxTrashDBRatio(double)
public double MaxTrashDBRatio { get; set; }
Property Value
RATE_BYTES_PER_SEC_DEFAULT
public static long RATE_BYTES_PER_SEC_DEFAULT { get; }
Property Value
TotalSize
public long TotalSize { get; }
Property Value
TrackedFiles
public Map<String, Long> TrackedFiles { get; }
Property Value
Methods
IsMaxAllowedSpaceReached()
public bool IsMaxAllowedSpaceReached()
Returns
IsMaxAllowedSpaceReachedIncludingCompactions()
public bool IsMaxAllowedSpaceReachedIncludingCompactions()
Returns
SetCompactionBufferSize(long)
public void SetCompactionBufferSize(long arg0)
Parameters
SetMaxAllowedSpaceUsage(long)
public void SetMaxAllowedSpaceUsage(long arg0)