code: public boolean canBeDiscarded(Element element)
      {
          long sweepCount = 0;
  
          if (element.accessedSweep <= ivCache.numSweeps)
              sweepCount = ivCache.numSweeps - element.accessedSweep;
          else
              sweepCount = (Long.MAX_VALUE - element.accessedSweep) + ivCache.numSweeps;
  
          return (sweepCount > ivDiscardThreshold);
      }
docs: Called by the cache when it needs to discard an object from the cache. <p>
  
  The cache will be holding the lock on the bucket when this method is
  invoked. Enables the eviction strategy to change the "decision" on
  evicting an object with the bucket lock held (a consistent state). <p>
  
  @param element element that is to be evicted.
  
  @return boolean to indicate whether to proceed with eviction or not.