Table of Contents

Class RequestManager

Namespace
Org.Apache.Kafka.Raft
Assembly
MASES.KNet.dll
public class RequestManager : JVMBridgeBase<RequestManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<RequestManager>
RequestManager
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<RequestManager>.IsAssignableFrom(IJavaType)
JVMBridgeBase<RequestManager>.IsAssignableFrom<T>()
JVMBridgeBase<RequestManager>.Execute<T>(params T[])
JVMBridgeBase<RequestManager>.DynBridgeClazz
JVMBridgeBase<RequestManager>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

RequestManager()

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

public RequestManager()

RequestManager(Collection<Node>, int, int, Random)

public RequestManager(Collection<Node> arg0, int arg1, int arg2, Random arg3)

Parameters

arg0 Collection<Node>

Collection

arg1 int

int

arg2 int

int

arg3 Random

Random

RequestManager(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 RequestManager(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

BackoffBeforeAvailableBootstrapServer(long)

public long BackoffBeforeAvailableBootstrapServer(long arg0)

Parameters

arg0 long

long

Returns

long

long

FindReadyBootstrapServer(long)

public Optional<Node> FindReadyBootstrapServer(long arg0)

Parameters

arg0 long

long

Returns

Optional<Node>

Optional

HasAnyInflightRequest(long)

public bool HasAnyInflightRequest(long arg0)

Parameters

arg0 long

long

Returns

bool

bool

HasRequestTimedOut(Node, long)

public bool HasRequestTimedOut(Node arg0, long arg1)

Parameters

arg0 Node

Node

arg1 long

long

Returns

bool

bool

IsBackingOff(Node, long)

public bool IsBackingOff(Node arg0, long arg1)

Parameters

arg0 Node

Node

arg1 long

long

Returns

bool

bool

IsReady(Node, long)

public bool IsReady(Node arg0, long arg1)

Parameters

arg0 Node

Node

arg1 long

long

Returns

bool

bool

IsResponseExpected(Node, long)

public bool IsResponseExpected(Node arg0, long arg1)

Parameters

arg0 Node

Node

arg1 long

long

Returns

bool

bool

OnRequestSent(Node, long, long)

public void OnRequestSent(Node arg0, long arg1, long arg2)

Parameters

arg0 Node

Node

arg1 long

long

arg2 long

long

OnResponseResult(Node, long, bool, long)

public void OnResponseResult(Node arg0, long arg1, bool arg2, long arg3)

Parameters

arg0 Node

Node

arg1 long

long

arg2 bool

bool

arg3 long

long

RemainingBackoffMs(Node, long)

public long RemainingBackoffMs(Node arg0, long arg1)

Parameters

arg0 Node

Node

arg1 long

long

Returns

long

long

RemainingRequestTimeMs(Node, long)

public long RemainingRequestTimeMs(Node arg0, long arg1)

Parameters

arg0 Node

Node

arg1 long

long

Returns

long

long

Reset(Node)

public void Reset(Node arg0)

Parameters

arg0 Node

Node

ResetAll()

public void ResetAll()