Show / Hide Table of Contents

Class RaftClusterMember

Represents Raft cluster member that is accessible through the network.

Inheritance
object
Disposable
RaftClusterMember
Implements
IDisposable
IRaftClusterMember
IClusterMember
IPeer
Inherited Members
Disposable.IsDisposed
Disposable.IsDisposing
Disposable.IsDisposingOrDisposed
Disposable.CreateException()
Disposable.DisposedTask
Disposable.GetDisposedTask<T>()
Disposable.TrySetDisposedException<T>(TaskCompletionSource<T>)
Disposable.TrySetDisposedException(TaskCompletionSource)
Disposable.Dispose(bool)
Disposable.DisposeAsyncCore()
Disposable.DisposeAsync()
Disposable.TryBeginDispose()
Disposable.Dispose()
Disposable.Dispose(IEnumerable<IDisposable>)
Disposable.DisposeAsync(IEnumerable<IAsyncDisposable>)
Disposable.Dispose<T>(ReadOnlySpan<T>)
Disposable.DisposeAsync(params IAsyncDisposable[])
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public abstract class RaftClusterMember : Disposable, IDisposable, IRaftClusterMember, IClusterMember, IPeer

Properties

| Edit this page View Source

EndPoint

Gets the address of this cluster member.

Declaration
public EndPoint EndPoint { get; }
Property Value
Type Description
EndPoint
| Edit this page View Source

IsLeader

Determines whether this member is a leader.

Declaration
public bool IsLeader { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsRemote

Determines whether this member is not a local node.

Declaration
public bool IsRemote { get; }
Property Value
Type Description
bool
| Edit this page View Source

Status

Gets the status of this member.

Declaration
public ClusterMemberStatus Status { get; }
Property Value
Type Description
ClusterMemberStatus

Methods

| Edit this page View Source

CancelPendingRequestsAsync()

Cancels pending requests scheduled for this member.

Declaration
public abstract ValueTask CancelPendingRequestsAsync()
Returns
Type Description
ValueTask

The task representing asynchronous execution of this method.

| Edit this page View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()

Events

| Edit this page View Source

MemberStatusChanged

Informs about status change.

Declaration
public event Action<ClusterMemberStatusChangedEventArgs<RaftClusterMember>> MemberStatusChanged
Event Type
Type Description
Action<ClusterMemberStatusChangedEventArgs<RaftClusterMember>>

Implements

IDisposable
IRaftClusterMember
IClusterMember
IPeer

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.GetUserData<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, ReadOnlySpan<T>)
ExpressionBuilder.Const<T>(T)
AsyncLockAcquisition.AcquireLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireLockAsync<T>(T, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, bool, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, bool, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, TimeSpan, CancellationToken)
LockAcquisition.AcquireReadLock<T>(T)
LockAcquisition.AcquireReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireUpgradeableReadLock<T>(T)
LockAcquisition.AcquireUpgradeableReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireWriteLock<T>(T)
LockAcquisition.AcquireWriteLock<T>(T, TimeSpan)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾