Table of Contents

Class RateLimiter

Namespace
Org.Rocksdb
Assembly
MASES.KNet.dll
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

initializer IJVMBridgeBaseInitializer

RateLimiter(long)

public RateLimiter(long arg0)

Parameters

arg0 long

long

RateLimiter(long, long)

public RateLimiter(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

RateLimiter(long, long, int)

public RateLimiter(long arg0, long arg1, int arg2)

Parameters

arg0 long

long

arg1 long

long

arg2 int

int

RateLimiter(long, long, int, RateLimiterMode)

public RateLimiter(long arg0, long arg1, int arg2, RateLimiterMode arg3)

Parameters

arg0 long

long

arg1 long

long

arg2 int

int

arg3 RateLimiterMode

RateLimiterMode

RateLimiter(long, long, int, RateLimiterMode, bool)

public RateLimiter(long arg0, long arg1, int arg2, RateLimiterMode arg3, bool arg4)

Parameters

arg0 long

long

arg1 long

long

arg2 int

int

arg3 RateLimiterMode

RateLimiterMode

arg4 bool

bool

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

BytesPerSecond

public long BytesPerSecond { get; set; }

Property Value

long

DEFAULT_AUTOTUNE

public static bool DEFAULT_AUTOTUNE { get; set; }

Property Value

bool

DEFAULT_FAIRNESS

public static int DEFAULT_FAIRNESS { get; set; }

Property Value

int

DEFAULT_MODE

public static RateLimiterMode DEFAULT_MODE { get; set; }

Property Value

RateLimiterMode

DEFAULT_REFILL_PERIOD_MICROS

public static long DEFAULT_REFILL_PERIOD_MICROS { get; set; }

Property Value

long

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 java.lang.AutoCloseable

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

SingleBurstBytes

public long SingleBurstBytes { get; }

Property Value

long

TotalBytesThrough

public long TotalBytesThrough { get; }

Property Value

long

TotalRequests

public long TotalRequests { get; }

Property Value

long

Methods

CreatePoolableInstance(long)

HPA initializer for RateLimiter(long arg0)

public static RateLimiter CreatePoolableInstance(long arg0)

Parameters

arg0 long

Returns

RateLimiter

CreatePoolableInstance(long, long)

HPA initializer for RateLimiter(long arg0, long arg1)

public static RateLimiter CreatePoolableInstance(long arg0, long arg1)

Parameters

arg0 long
arg1 long

Returns

RateLimiter

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

arg0 long
arg1 long
arg2 int

Returns

RateLimiter

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

arg0 long
arg1 long
arg2 int
arg3 RateLimiterMode

Returns

RateLimiter

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

arg0 long
arg1 long
arg2 int
arg3 RateLimiterMode
arg4 bool

Returns

RateLimiter

Request(long)

public void Request(long arg0)

Parameters

arg0 long

long