Table of Contents

Method GetCacheInfoAsync

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

GetCacheInfoAsync(CancellationToken)

Retrieves information and statistics about every cache in the ScaleOut service associated with this GridConnection instance. The returned list of CacheInfo objects is refreshed at most every 15 seconds.

public Task<IReadOnlyList<CacheInfo>> GetCacheInfoAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token used to propagate notification that this operation should be canceled.

Returns

Task<IReadOnlyList<CacheInfo>>

A read-only list of CacheInfo objects.

Remarks

This method will perform a round trip to the ScaleOut service and invoke a parallel query on the distributed store, which involves all hosts.