Class ResignedState
public class ResignedState : EpochState, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IEpochState, ICloseable, IAutoCloseable
- Inheritance
-
ResignedState
- Implements
- Inherited Members
Constructors
ResignedState(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 ResignedState(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
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
arg0Timearg1intarg2intarg3Set<Integer>arg4longarg5List<ReplicaKey>arg6Endpointsarg7LogContext
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
AcknowledgeResignation(int)
public void AcknowledgeResignation(int arg0)
Parameters
CanGrantVote(ReplicaKey, bool, bool)
public bool CanGrantVote(ReplicaKey arg0, bool arg1, bool arg2)
Parameters
arg0ReplicaKeyarg1boolarg2bool
Returns
Close()
public void Close()
CreatePoolableInstance(Time, int, int, Set<Integer>, long, List<ReplicaKey>, Endpoints, LogContext)
HPA initializer for ResignedState(Org.Apache.Kafka.Common.Utils.Time arg0, int arg1, int arg2, Java.Util.Set%3CJava.Lang.Integer%3E arg3, long arg4, Java.Util.List%3COrg.Apache.Kafka.Raft.ReplicaKey%3E arg5, Org.Apache.Kafka.Raft.Endpoints arg6, Org.Apache.Kafka.Common.Utils.LogContext arg7)
public static ResignedState CreatePoolableInstance(Time arg0, int arg1, int arg2, Set<Integer> arg3, long arg4, List<ReplicaKey> arg5, Endpoints arg6, LogContext arg7)
Parameters
arg0Timearg1intarg2intarg3Set<Integer>arg4longarg5List<ReplicaKey>arg6Endpointsarg7LogContext
Returns
Election()
public ElectionState Election()
Returns
Epoch()
public int Epoch()
Returns
HasElectionTimeoutExpired(long)
public bool HasElectionTimeoutExpired(long arg0)
Parameters
Returns
LeaderEndpoints()
public Endpoints LeaderEndpoints()
Returns
Name()
public String Name()
Returns
PreferredSuccessors()
public List<ReplicaKey> PreferredSuccessors()
Returns
RemainingElectionTimeMs(long)
public long RemainingElectionTimeMs(long arg0)
Parameters
Returns
UnackedVoters()
public Set<Integer> UnackedVoters()