Interface IClusterConfiguration
Represents a snapshot of cluster configuration.
Inherited Members
Namespace: DotNext.Net.Cluster.Consensus.Raft.Membership
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IClusterConfiguration : IDataTransferObject
Properties
| Edit this page View SourceFingerprint
Gets fingerprint of this configuration that uniquely identifies its content.
Declaration
long Fingerprint { get; }
Property Value
Type | Description |
---|---|
long |
Length
Gets length of the configuration, in bytes.
Declaration
long Length { get; }
Property Value
Type | Description |
---|---|
long |
Methods
| Edit this page View SourceCreateEmpty(long)
Creates empty configuration.
Declaration
public static IClusterConfiguration CreateEmpty(long fingerprint)
Parameters
Type | Name | Description |
---|---|---|
long | fingerprint | The fingerprint of the configuration. |
Returns
Type | Description |
---|---|
IClusterConfiguration | The empty configuration. |