KGy SOFT

CacheTKey, TValueGetStatistics Method

KGy SOFT Core Libraries Help

Namespace:  KGySoft.Collections
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.0.0-rc.1
Syntax

public ICacheStatistics GetStatistics()

Return Value

Type: ICacheStatistics
An ICacheStatistics instance that provides statistical information about the CacheTKey, TValue.

Implements

ICacheGetStatistics
Remarks

The returned ICacheStatistics instance is a wrapper around the CacheTKey, TValue and reflects any changes happened to the cache immediately. Therefore it is not necessary to call this method again whenever new statistics are required.

This method is an O(1) operation.

See Also

Reference