code: public CacheStatistics getStatistics(String scope) {
          Cache scopeCache = scopeManager.getCache(scope);
          if(scopeCache == null) {
              throw new InvalidScopeException("The scope " + scope + " doesn't exist");
          }
          FlatStatistics scopeStats = scopeCache.getStatistics();
          EhCacheStatistics stats = new EhCacheStatistics(scopeStats);
  
          return stats;
      }
docs: {@inheritDoc}