Interface IReplicationCluster
Represents replication cluster.
Inherited Members
Namespace: DotNext.Net.Cluster.Replication
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IReplicationCluster : ICluster, IPeerMesh<IClusterMember>, IPeerMeshProperties
| Edit this page View SourceAuditTrail
Gets transaction log used for replication.
Declaration
IAuditTrail AuditTrail { get; }Property Value
| Type | Description | 
|---|---|
| IAuditTrail | 
Methods
| Edit this page View SourceForceReplicationAsync(CancellationToken)
Forces replication.
Declaration
ValueTask ForceReplicationAsync(CancellationToken token = default)Parameters
| Type | Name | Description | 
|---|---|---|
| CancellationToken | token | The token that can be used to cancel waiting. | 
Returns
| Type | Description | 
|---|---|
| ValueTask | 
Exceptions
| Type | Condition | 
|---|---|
| InvalidOperationException | The local cluster member is not a leader. | 
| OperationCanceledException | The operation has been canceled. | 
Events
| Edit this page View SourceReplicationCompleted
Represents an event raised when the local node completes its replication with another node.
Declaration
event Action<IReplicationCluster, IClusterMember> ReplicationCompletedEvent Type
| Type | Description | 
|---|---|
| Action<IReplicationCluster, IClusterMember> |