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

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