public static EvictionAttributes createLRUEntryAttributes() {
    return new EvictionAttributesImpl().setAlgorithm(EvictionAlgorithm.LRU_ENTRY)
        .setAction(EvictionAction.DEFAULT_EVICTION_ACTION).setMaximum(DEFAULT_ENTRIES_MAXIMUM);
  }
Creates and returns {@linkplain EvictionAlgorithm#LRU_ENTRY entry LRU} eviction attributes with
default {@linkplain EvictionAction#DEFAULT_EVICTION_ACTION action} and default
{@linkplain #DEFAULT_ENTRIES_MAXIMUM maximum}.
<p>
{@link EvictionAttributes} cause regions to evict the least recently used (LRU) entry once the
region reaches a maximum capacity. The entry is either locally destroyed or its value overflows
to disk when evicted.
<p>
This is not supported when replication is enabled.
<p>
For a region with {@link DataPolicy#PARTITION}, the EvictionAttribute <code>maximum</code>,
indicates the number of entries allowed in the region, collectively for its primary buckets and
redundant copies for this JVM. Once there are <code>maximum</code> entries in the region's
primary buckets and redundant copies for this JVM, the least recently used entry will be
evicted from the bucket in which the subsequent put takes place.
<p>
If you are using a <code>cache.xml</code> file to create a Cache Region declaratively, you can
include the following to configure a region for eviction

<pre>
        &lt;region-attributes&gt;
           &lt;eviction-attributes&gt;
              &lt;lru-entry-count maximum=&quot;900&quot; action=&quot;local-destroy&quot;/&gt;
           &lt;/eviction-attributes&gt;
        &lt;/region-attributes&gt;
</pre>

@return {@linkplain EvictionAlgorithm#LRU_ENTRY entry LRU} eviction attributes with default
        {@linkplain EvictionAction#DEFAULT_EVICTION_ACTION action} and default
        {@linkplain #DEFAULT_ENTRIES_MAXIMUM maximum}
geode-core/src/main/java/org/apache/geode/cache/EvictionAttributes.java