Table of Contents

Class LeaderState.ReplicaState

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

Constructors

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

Parameters

initializer IJVMBridgeBaseInitializer

ReplicaState(ReplicaKey, bool, Endpoints)

public ReplicaState(ReplicaKey arg0, bool arg1, Endpoints arg2)

Parameters

arg0 ReplicaKey

ReplicaKey

arg1 bool

bool

arg2 Endpoints

Endpoints

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

CompareTo(ReplicaState)

public int CompareTo(LeaderState.ReplicaState arg0)

Parameters

arg0 LeaderState.ReplicaState

LeaderState.ReplicaState

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

CreatePoolableInstance(ReplicaKey, bool, Endpoints)

HPA initializer for ReplicaState(Org.Apache.Kafka.Raft.ReplicaKey arg0, bool arg1, Org.Apache.Kafka.Raft.Endpoints arg2)

public static LeaderState.ReplicaState CreatePoolableInstance(ReplicaKey arg0, bool arg1, Endpoints arg2)

Parameters

arg0 ReplicaKey
arg1 bool
arg2 Endpoints

Returns

LeaderState.ReplicaState

EndOffset()

public Optional<LogOffsetMetadata> EndOffset()

Returns

Optional<LogOffsetMetadata>

Optional

LastCaughtUpTimestamp()

public long LastCaughtUpTimestamp()

Returns

long

long

LastFetchTimestamp()

public long LastFetchTimestamp()

Returns

long

long

Listeners()

public Endpoints Listeners()

Returns

Endpoints

Endpoints

ReplicaKey()

public ReplicaKey ReplicaKey()

Returns

ReplicaKey

ReplicaKey