code: @Deprecated
      public NearCacheConfig setEvictionPolicy(String evictionPolicy) {
          this.evictionPolicy = checkNotNull(evictionPolicy, "Eviction policy cannot be null!");
          this.evictionConfig.setEvictionPolicy(EvictionPolicy.valueOf(evictionPolicy));
          this.evictionConfig.setMaximumSizePolicy(ENTRY_COUNT);
          return this;
      }
docs: Sets the eviction policy.
  <p>
  Valid values are:
  <ul>
  <li>{@code LRU} (Least Recently Used)</li>
  <li>{@code LFU} (Least Frequently Used)</li>
  <li>{@code NONE} (no extra eviction, time-to-live-seconds or max-idle-seconds may still apply)</li>
  <li>{@code RANDOM} (random entry)</li>
  </ul>
  <p>
  {@code LRU} is the default.
  Regardless of the eviction policy used, time-to-live-seconds and max-idle-seconds will still apply.
  
  @param evictionPolicy the eviction policy for the Near Cache
  @return this Near Cache config instance
  @deprecated since 3.8, please use {@link #getEvictionConfig()} and {@link EvictionConfig#setEvictionPolicy(EvictionPolicy)}