public void setEvictionAttributes(EvictionAttributes evictAttrs) {
    if (evictAttrs != null) {
      regionAttributes.evictionAttributes = (EvictionAttributesImpl) evictAttrs;
    } else {
      regionAttributes.evictionAttributes = new EvictionAttributesImpl();
    }
    regionAttributes.setHasEvictionAttributes(true);
  }
Sets the EvictionController for the next {@code RegionAttributes} created. Use one of the
creation methods on {@link EvictionAttributes} e.g.
{@link EvictionAttributes#createLRUHeapAttributes()} to create the desired instance for this
{@code AttributesFactory}

@param evictAttrs Explains how and when eviction occurs in the Region.
geode-core/src/main/java/org/apache/geode/cache/AttributesFactory.java