Class QuorumState
public class QuorumState : JVMBridgeBase<QuorumState>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<QuorumState>QuorumState
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<QuorumState>.SExecuteWithSignatureArray<T>(IJavaType, string, string, params object[])JVMBridgeBase<QuorumState>.IsAssignableFrom(IJavaType)JVMBridgeBase<QuorumState>.IsAssignableFrom<T>()JVMBridgeBase<QuorumState>.Execute<T>(params T[])JVMBridgeBase<QuorumState>.DynBridgeClazzJVMBridgeBase<QuorumState>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
Constructors
QuorumState()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public QuorumState()
QuorumState(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 QuorumState(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
CanGrantVote(ReplicaKey, bool)
public bool CanGrantVote(ReplicaKey arg0, bool arg1)
Parameters
arg0
ReplicaKeyarg1
bool
Returns
CandidateStateOrThrow()
public CandidateState CandidateStateOrThrow()
Returns
Epoch()
public int Epoch()
Returns
FollowerStateOrThrow()
public FollowerState FollowerStateOrThrow()
Returns
HasLeader()
public bool HasLeader()
Returns
HasRemoteLeader()
public bool HasRemoteLeader()
Returns
HighWatermark()
public Optional<LogOffsetMetadata> HighWatermark()
Returns
Initialize(OffsetAndEpoch)
public void Initialize(OffsetAndEpoch arg0)
Parameters
Exceptions
IsCandidate()
public bool IsCandidate()
Returns
IsFollower()
public bool IsFollower()
Returns
IsLeader()
public bool IsLeader()
Returns
IsObserver()
public bool IsObserver()
Returns
IsOnlyVoter()
public bool IsOnlyVoter()
Returns
IsResigned()
public bool IsResigned()
Returns
IsUnattached()
public bool IsUnattached()
Returns
IsUnattachedAndVoted()
public bool IsUnattachedAndVoted()
Returns
IsUnattachedNotVoted()
public bool IsUnattachedNotVoted()
Returns
IsVoter()
public bool IsVoter()
Returns
IsVoter(ReplicaKey)
public bool IsVoter(ReplicaKey arg0)
Parameters
arg0
ReplicaKey
Returns
LeaderAndEpoch()
public LeaderAndEpoch LeaderAndEpoch()
Returns
LeaderEndpoints()
public Endpoints LeaderEndpoints()
Returns
LeaderId()
public OptionalInt LeaderId()
Returns
LeaderIdOrSentinel()
public int LeaderIdOrSentinel()
Returns
LeaderStateOrThrow<T>()
public LeaderState<T> LeaderStateOrThrow<T>()
Returns
Type Parameters
T
LocalDirectoryId()
public Uuid LocalDirectoryId()
Returns
LocalId()
public OptionalInt LocalId()
Returns
LocalIdOrSentinel()
public int LocalIdOrSentinel()
Returns
LocalIdOrThrow()
public int LocalIdOrThrow()
Returns
LocalReplicaKeyOrThrow()
public ReplicaKey LocalReplicaKeyOrThrow()
Returns
LocalVoterNodeOrThrow()
public VoterSet.VoterNode LocalVoterNodeOrThrow()
Returns
MaybeLeaderState<T>()
public Optional<LeaderState<T>> MaybeLeaderState<T>()
Returns
Type Parameters
T
MaybeUnattachedState()
public Optional<UnattachedState> MaybeUnattachedState()
Returns
ResignedStateOrThrow()
public ResignedState ResignedStateOrThrow()
Returns
TransitionToCandidate()
public void TransitionToCandidate()
TransitionToFollower(int, int, Endpoints)
public void TransitionToFollower(int arg0, int arg1, Endpoints arg2)
Parameters
TransitionToResigned(List<ReplicaKey>)
public void TransitionToResigned(List<ReplicaKey> arg0)
Parameters
arg0
List<ReplicaKey>
TransitionToUnattached(int)
public void TransitionToUnattached(int arg0)
Parameters
TransitionToUnattachedVotedState(int, ReplicaKey)
public void TransitionToUnattachedVotedState(int arg0, ReplicaKey arg1)
Parameters
arg0
intarg1
ReplicaKey
UnattachedStateOrThrow()
public UnattachedState UnattachedStateOrThrow()