trackStatistics property

bool trackStatistics
getter/setter pair

Gets or sets a value that determines whether statistics should be collected for the cache.

When enabled, statistics such as hit count, miss count, and total entries are tracked and can be retrieved via MemoryCacheImpl.getCurrentStatistics.

Defaults to false.

Implementation

bool trackStatistics;