IActorStateManager.ClearCacheAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clears all the cached actor states and any operation(s) performed on IActorStateManager since last state save operation.
public System.Threading.Tasks.Task ClearCacheAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ClearCacheAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ClearCacheAsync (Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests.
Returns
A task that represents the asynchronous clear cache operation.
Remarks
All the operation(s) performed on IActorStateManager since last save operation are cleared on clearing the cache and will not be included in next save operation.
Applies to
Azure SDK for .NET