code: protected Status status(final CacheStatistics statistics) {
          if (statistics.getEvictions() > 0 && statistics.getEvictions() > evictionThreshold) {
              return new Status("WARN");
          }
          if (statistics.getPercentFree() > 0 && statistics.getPercentFree() < threshold) {
              return Status.OUT_OF_SERVICE;
          }
          return Status.UP;
      }
docs: Computes the status code for a given set of cache statistics.
  
  @param statistics Cache statistics.
  @return WARN or OUT_OF_SERVICE OR UP.