Table of Contents

Class LeaderAndEpoch

Namespace
Org.Apache.Kafka.Raft
Assembly
MASES.KNet.dll
public class LeaderAndEpoch : JVMBridgeBase<LeaderAndEpoch>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<LeaderAndEpoch>
LeaderAndEpoch
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<LeaderAndEpoch>.IsAssignableFrom(IJavaType)
JVMBridgeBase<LeaderAndEpoch>.IsAssignableFrom<T>()
JVMBridgeBase<LeaderAndEpoch>.Execute<T>(params T[])
JVMBridgeBase<LeaderAndEpoch>.DynBridgeClazz
JVMBridgeBase<LeaderAndEpoch>.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

LeaderAndEpoch()

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

public LeaderAndEpoch()

LeaderAndEpoch(OptionalInt, int)

public LeaderAndEpoch(OptionalInt arg0, int arg1)

Parameters

arg0 OptionalInt

OptionalInt

arg1 int

int

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

UNKNOWN

public static LeaderAndEpoch UNKNOWN { get; }

Property Value

LeaderAndEpoch

Methods

Epoch()

public int Epoch()

Returns

int

int

IsLeader(int)

public bool IsLeader(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

LeaderId()

public OptionalInt LeaderId()

Returns

OptionalInt

OptionalInt