Class RateLimiter
public class RateLimiter : RocksObject, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAutoCloseable
- Inheritance
-
RateLimiter
- Implements
- Inherited Members
Constructors
RateLimiter(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public RateLimiter(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
RateLimiter(long)
public RateLimiter(long arg0)
Parameters
RateLimiter(long, long)
public RateLimiter(long arg0, long arg1)
Parameters
RateLimiter(long, long, int)
public RateLimiter(long arg0, long arg1, int arg2)
Parameters
RateLimiter(long, long, int, RateLimiterMode)
public RateLimiter(long arg0, long arg1, int arg2, RateLimiterMode arg3)
Parameters
arg0longarg1longarg2intarg3RateLimiterMode
RateLimiter(long, long, int, RateLimiterMode, bool)
public RateLimiter(long arg0, long arg1, int arg2, RateLimiterMode arg3, bool arg4)
Parameters
arg0longarg1longarg2intarg3RateLimiterModearg4bool
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
BytesPerSecond
https://www.javadoc.io/doc/org.rocksdb/rocksdbjni/10.1.3/org/rocksdb/RateLimiter.html#getBytesPerSecond() https://www.javadoc.io/doc/org.rocksdb/rocksdbjni/10.1.3/org/rocksdb/RateLimiter.html#setBytesPerSecond(long)
public long BytesPerSecond { get; set; }
Property Value
DEFAULT_AUTOTUNE
public static bool DEFAULT_AUTOTUNE { get; set; }
Property Value
DEFAULT_FAIRNESS
public static int DEFAULT_FAIRNESS { get; set; }
Property Value
DEFAULT_MODE
public static RateLimiterMode DEFAULT_MODE { get; set; }
Property Value
DEFAULT_REFILL_PERIOD_MICROS
public static long DEFAULT_REFILL_PERIOD_MICROS { 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 java.lang.AutoCloseable
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
SingleBurstBytes
public long SingleBurstBytes { get; }
Property Value
TotalBytesThrough
public long TotalBytesThrough { get; }
Property Value
TotalRequests
public long TotalRequests { get; }
Property Value
Methods
CreatePoolableInstance(long)
HPA initializer for RateLimiter(long arg0)
public static RateLimiter CreatePoolableInstance(long arg0)
Parameters
arg0long
Returns
CreatePoolableInstance(long, long)
HPA initializer for RateLimiter(long arg0, long arg1)
public static RateLimiter CreatePoolableInstance(long arg0, long arg1)
Parameters
Returns
CreatePoolableInstance(long, long, int)
HPA initializer for RateLimiter(long arg0, long arg1, int arg2)
public static RateLimiter CreatePoolableInstance(long arg0, long arg1, int arg2)
Parameters
Returns
CreatePoolableInstance(long, long, int, RateLimiterMode)
HPA initializer for RateLimiter(long arg0, long arg1, int arg2, Org.Rocksdb.RateLimiterMode arg3)
public static RateLimiter CreatePoolableInstance(long arg0, long arg1, int arg2, RateLimiterMode arg3)
Parameters
arg0longarg1longarg2intarg3RateLimiterMode
Returns
CreatePoolableInstance(long, long, int, RateLimiterMode, bool)
HPA initializer for RateLimiter(long arg0, long arg1, int arg2, Org.Rocksdb.RateLimiterMode arg3, bool arg4)
public static RateLimiter CreatePoolableInstance(long arg0, long arg1, int arg2, RateLimiterMode arg3, bool arg4)
Parameters
arg0longarg1longarg2intarg3RateLimiterModearg4bool
Returns
Request(long)
public void Request(long arg0)