public static EvictionAttributes createLRUHeapAttributes(final ObjectSizer sizer,
      final EvictionAction evictionAction) {
    return new EvictionAttributesImpl().setAlgorithm(EvictionAlgorithm.LRU_HEAP)
        .setAction(evictionAction).setObjectSizer(sizer);
  }
Creates and returns {@linkplain EvictionAlgorithm#LRU_HEAP heap LRU} eviction attributes with
the given <code>evictionAction</code> and given <code>sizer</code>.

@param sizer the sizer implementation used to determine the size of each entry in this region
@param evictionAction the way in which entries should be evicted
@return {@linkplain EvictionAlgorithm#LRU_HEAP heap LRU} eviction attributes with the given
        <code>evictionAction</code> and given <code>sizer</code>
@see #createLRUHeapAttributes()
geode-core/src/main/java/org/apache/geode/cache/EvictionAttributes.java