code: private void evictionWarningIfNeeded() {
          // If not logging eviction warnings, just return.
          if (evictionWarningThrottle <= 0) {
              return;
          }
  
          evictionsSinceWarning++;
  
          if (evictionsSinceWarning >= evictionWarningThrottle) {
              DateFormat dateFormat = DateFormat.getDateTimeInstance();
              if (LOGGER.isInfoEnabled()) {
                  LOGGER.info("There have been " + evictionsSinceWarning
                          + " evictions from the cache since "
                          + dateFormat.format(lastEvictionWarning));
              }
              evictionsSinceWarning = 0;
              lastEvictionWarning = new Date();
          }
      }
docs: Logs a warning if a threshold number of evictions has occurred since the
  last warning.