private Task WaitForCatchUpQuorumAsyncHelper(ReplicaSetQuorumMode quorumMode, CancellationToken cancellationToken) { return(Utility.WrapNativeAsyncInvoke( (callback) => this.WaitForCatchUpQuorumBeginWrapper(quorumMode, callback), this.WaitForCatchUpQuorumEndWrapper, cancellationToken, "FabricReplicator.WaitForCatchupQuorum")); }
public Task WaitForCatchUpQuorumAsync(ReplicaSetQuorumMode quorumMode, CancellationToken cancellationToken) { return(Task.FromResult(true)); }
private Task BeginWaitForCatchupQuorumAsync(NativeTypes.FABRIC_REPLICA_SET_QUORUM_MODE catchUpMode, CancellationToken cancellationToken) { ReplicaSetQuorumMode quorumMode = (ReplicaSetQuorumMode)catchUpMode; return(this.replicator.WaitForCatchUpQuorumAsync(quorumMode, cancellationToken)); }
Task IPrimaryReplicator.WaitForCatchUpQuorumAsync(ReplicaSetQuorumMode quorumMode, CancellationToken cancellationToken) { return(this.internalReplicator.WaitForCatchUpQuorumAsync(quorumMode, cancellationToken)); }
public Task WaitForCatchUpQuorumAsync(ReplicaSetQuorumMode mode, object asyncState) { throw new NotImplementedException(); }
private NativeCommon.IFabricAsyncOperationContext WaitForCatchUpQuorumBeginWrapper(ReplicaSetQuorumMode quorumMode, NativeCommon.IFabricAsyncOperationCallback callback) { return(this.PrimaryReplicator.BeginWaitForCatchUpQuorum((NativeTypes.FABRIC_REPLICA_SET_QUORUM_MODE)quorumMode, callback)); }