Table of Contents

Class RequestManager

Namespace
Org.Apache.Kafka.Raft
Assembly
MASES.KNet.dll
public class RequestManager : JVMBridgeBase<RequestManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
RequestManager
Implements

Constructors

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(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 RequestManager(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

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

Methods

BackoffBeforeAvailableBootstrapServer(long)

public long BackoffBeforeAvailableBootstrapServer(long arg0)

Parameters

arg0 long

long

Returns

long

long

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

HPA initializer for RequestManager(Java.Util.Collection%3COrg.Apache.Kafka.Common.Node%3E arg0, int arg1, int arg2, Java.Util.Random arg3)

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

Parameters

arg0 Collection<Node>
arg1 int
arg2 int
arg3 Random

Returns

RequestManager

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