getCacheStats method

Map<String, dynamic> getCacheStats()

Gets cache statistics

Implementation

Map<String, dynamic> getCacheStats() {
  return {
    'primaryCacheSize': _primaryCache.length,
    'secondaryCacheSize': _secondaryCache.length,
    'tertiaryCacheSize': _tertiaryCache.length,
    'totalCachedProxies':
        _primaryCache.length + _secondaryCache.length + _tertiaryCache.length,
    'uniqueProxiesTracked': _usageStats.length,
  };
}