Struct DiskBasedStateMachine.SnapshotAccessToken
Represents a token that uniquely identifies the concurrent read of the snapshot.
Implements
Inherited Members
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 SourceToString()
Converts the token to string for debugging purposes.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represent this token. |