ActorStateManager.saveStateAsync 方法
定义
重载
saveStateAsync() |
Saves all the cached state changes (add/update/remove) that were made since last call to saveStateAsync(CancellationToken cancellationToken) by actor runtime or by user explicitly.
|
saveStateAsync(CancellationToken cancellationToken) |
Saves all the cached state changes (add/update/remove) that were made since last call to saveStateAsync(CancellationToken cancellationToken) by actor runtime or by user explicitly.
|
saveStateAsync()
Saves all the cached state changes (add/update/remove) that were made since last call to saveStateAsync(CancellationToken cancellationToken) by actor runtime or by user explicitly.
public CompletableFuture<?> saveStateAsync()
返回
A task that represents the asynchronous save operation.
saveStateAsync(CancellationToken cancellationToken)
Saves all the cached state changes (add/update/remove) that were made since last call to saveStateAsync(CancellationToken cancellationToken) by actor runtime or by user explicitly.
public CompletableFuture<?> saveStateAsync(CancellationToken cancellationToken)
参数
- cancellationToken
- CancellationToken
CancellationToken object to indicate the cancellation status of the operation.
返回
A task that represents the asynchronous save operation.