Interface ICommand<TSelf>
Represents the state machine command.
Inherited Members
Namespace: DotNext.Net.Cluster.Consensus.Raft.Commands
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface ICommand<TSelf> : ISerializable<TSelf>, IDataTransferObject where TSelf : ICommand<TSelf>
Type Parameters
Name | Description |
---|---|
TSelf | The implementing type. |
Properties
| Edit this page View SourceId
Gets the identifier of the command.
Declaration
public static abstract int Id { get; }
Property Value
Type | Description |
---|---|
int |
IsSnapshot
Gets a value indicating that this command is a snapshot handler.
Declaration
public static bool IsSnapshot { get; }
Property Value
Type | Description |
---|---|
bool |