Show / Hide Table of Contents

Struct DiskBasedStateMachine.SnapshotAccessToken

Represents a token that uniquely identifies the concurrent read of the snapshot.

Implements
IEquatable<DiskBasedStateMachine.SnapshotAccessToken>
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
protected readonly record struct DiskBasedStateMachine.SnapshotAccessToken : IEquatable<DiskBasedStateMachine.SnapshotAccessToken>
Remarks

This token is suitable to act as a key in the dictionary to keep short-living data (such as opened descriptors and other resources) associated with snapshot read operation.

Methods

| Edit this page View Source

ToString()

Converts the token to string for debugging purposes.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represent this token.

Overrides
ValueType.ToString()

Implements

IEquatable<T>

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, ReadOnlySpan<T>)
Collection.ToAsyncEnumerator<TEnumerator, T>(TEnumerator, CancellationToken)
Collection.ToClassicEnumerator<TEnumerator, T>(TEnumerator)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
ExpressionBuilder.Const<T>(T)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾