PrimaryReplicator Interface
public interface PrimaryReplicator
This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
Method Summary
Modifier and Type | Method and Description |
---|---|
CompletableFuture |
buildReplicaAsync(ReplicaInformation replicaInfo, CancellationToken cancellationToken)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code. |
CompletableFuture<Boolean> |
onDataLossAsync(CancellationToken cancellationToken)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code. |
void |
removeReplica(long replicaId)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
Remarks: This supports the Service Fabric infrastructure and is not meant to be used directly from your code. |
void |
updateCatchUpReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration, ReplicaSetConfiguration previousConfiguration)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code. |
void |
updateCurrentReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
Remarks: This supports the Service Fabric infrastructure and is not meant to be used directly from your code. |
CompletableFuture |
waitForCatchUpQuorumAsync(ReplicaSetQuorumMode quorumMode, CancellationToken cancellationToken)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code. For Internal Use Only. |
Method Details
buildReplicaAsync
public CompletableFuture buildReplicaAsync(ReplicaInformation replicaInfo, CancellationToken cancellationToken)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
Parameters:
CancellationToken object to indicate the cancellation status of the operation.
Returns:
onDataLossAsync
public CompletableFuture
This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
Parameters:
CancellationToken object to indicate the cancellation status of the operation.
Returns:
removeReplica
public void removeReplica(long replicaId)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
Remarks: This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
Parameters:
updateCatchUpReplicaSetConfiguration
public void updateCatchUpReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration, ReplicaSetConfiguration previousConfiguration)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
Parameters:
updateCurrentReplicaSetConfiguration
public void updateCurrentReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
Remarks: This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
Parameters:
waitForCatchUpQuorumAsync
public CompletableFuture waitForCatchUpQuorumAsync(ReplicaSetQuorumMode quorumMode, CancellationToken cancellationToken)
This supports the Service Fabric infrastructure and is not meant to be used directly from your code.
For Internal Use Only.
Parameters:
CancellationToken object to indicate the cancellation status of the operation.
Returns: