Table of Contents

Method Clear

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

Clear(CancellationToken)

Clears all objects from the cache.

public void Clear(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Remarks

The clear operation should be used with care, as it can affect other clients and threads. Objects that are locked by other callers will be removed immediately. Expiration events for cleared objects will not be fired. Write-behind events to remove cleared objects will not be fired.