Table of Contents

Class ResignedState

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

ResignedState()

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

public ResignedState()

ResignedState(Time, int, int, Set<Integer>, long, List<ReplicaKey>, Endpoints, LogContext)

public ResignedState(Time arg0, int arg1, int arg2, Set<Integer> arg3, long arg4, List<ReplicaKey> arg5, Endpoints arg6, LogContext arg7)

Parameters

arg0 Time

Time

arg1 int

int

arg2 int

int

arg3 Set<Integer>

Set

arg4 long

long

arg5 List<ReplicaKey>

List

arg6 Endpoints

Endpoints

arg7 LogContext

LogContext

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

AcknowledgeResignation(int)

public void AcknowledgeResignation(int arg0)

Parameters

arg0 int

int

CanGrantVote(ReplicaKey, bool)

public bool CanGrantVote(ReplicaKey arg0, bool arg1)

Parameters

arg0 ReplicaKey

ReplicaKey

arg1 bool

bool

Returns

bool

bool

Close()

public void Close()

Election()

public ElectionState Election()

Returns

ElectionState

ElectionState

Epoch()

public int Epoch()

Returns

int

int

HasElectionTimeoutExpired(long)

public bool HasElectionTimeoutExpired(long arg0)

Parameters

arg0 long

long

Returns

bool

bool

LeaderEndpoints()

public Endpoints LeaderEndpoints()

Returns

Endpoints

Endpoints

Name()

public String Name()

Returns

String

String

PreferredSuccessors()

public List<ReplicaKey> PreferredSuccessors()

Returns

List<ReplicaKey>

List

RemainingElectionTimeMs(long)

public long RemainingElectionTimeMs(long arg0)

Parameters

arg0 long

long

Returns

long

long

UnackedVoters()

public Set<Integer> UnackedVoters()

Returns

Set<Integer>

Set