ReliableCollectionsActorStateProvider.closeAsync(CancellationToken cancellationToken) 方法

定义

Gracefully close the state provider replica.

Remarks:This generally occurs when the replica's code is being upgrade, the replica is being moved due to load balancing, or a transient fault is detected.

public CompletableFuture<?> closeAsync(CancellationToken cancellationToken)

参数

cancellationToken
CancellationToken

CancellationToken object to indicate the cancellation status of the operation.

返回

CompletableFuture<?>

Task that represents the asynchronous close operation.

替代

适用于