code: public MapConfig setEvictionPercentage(final int evictionPercentage) {
          if (evictionPercentage < MIN_EVICTION_PERCENTAGE) {
              throw new IllegalArgumentException("Eviction percentage must be greater than or equal to 0");
          }
          if (evictionPercentage > MAX_EVICTION_PERCENTAGE) {
              throw new IllegalArgumentException("Eviction percentage must be smaller than or equal to 100");
          }
          this.evictionPercentage = evictionPercentage;
          return this;
      }
docs: When maximum size is reached, the specified percentage of the map will be evicted.
  Any integer between 0 and 100 is allowed.
  For example, if 25 is set, 25% of the entries will be evicted.
  <p>
  Beware that eviction mechanism is different for NATIVE in-memory format (It uses a probabilistic algorithm
  based on sampling. Please see documentation for further details) and this parameter has no effect.
  
  @param evictionPercentage the evictionPercentage to set: the specified percentage of the map to be evicted
  @throws IllegalArgumentException if evictionPercentage is not in the 0-100 range
  @deprecated As of version 3.7, eviction mechanism changed.
  It uses a probabilistic algorithm based on sampling. Please see documentation for further details