code: @Override
      public String[] getCacheStatistics(String[] names) throws javax.management.AttributeNotFoundException {
  
          if (names == null)
              return null;
  
          DCache cache = null;
          if (ServerCache.servletCacheEnabled) {
              cache = ServerCache.cache;
          }
          String stats[] = null;
          if (cache != null) {
              Map statistics = getCacheStatisticsMap(cache.getCacheStatistics());
              stats = new String[names.length];
              for (int i = 0; i < names.length; i++) {
  
                  if (!statistics.containsKey(names[i])) {
                      Tr.error(tc, "DYNA1052E", new Object[] { names[i] });
                      throw new AttributeNotFoundException(names[i] + " is not a valid cache statistic name");
                  }
  
                  stats[i] = names[i] + "=" + statistics.get(names[i]);
              }
          } else {
              stats = new String[0];
          }
  
          return stats;
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.websphere.cache.CacheAdminMBean#getCacheStatistics(java.lang.String[])