StatefulServiceBase.backupAsync 方法

定义

重载

backupAsync(BackupDescription backupDescription)

Performs a backup of all reliable state managed by this StatefulServiceBase.

backupAsync(BackupDescription backupDescription, Duration timeout, CancellationToken cancellationToken)

Performs a backup of all reliable state managed by this StatefulServiceBase.

backupAsync(BackupDescription backupDescription)

Performs a backup of all reliable state managed by this StatefulServiceBase.

public CompletableFuture<?> backupAsync(BackupDescription backupDescription)

参数

backupDescription
BackupDescription

A BackupDescription describing the backup request.

返回

CompletableFuture<?>

Task that represents the asynchronous backup operation.

backupAsync(BackupDescription backupDescription, Duration timeout, CancellationToken cancellationToken)

Performs a backup of all reliable state managed by this StatefulServiceBase.

public CompletableFuture<?> backupAsync(BackupDescription backupDescription, Duration timeout, CancellationToken cancellationToken)

参数

backupDescription
BackupDescription

A BackupDescription describing the backup request.

timeout
Duration

The timeout for this operation.

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

返回

CompletableFuture<?>

Task that represents the asynchronous backup operation.

适用于