title: Role of eternal and maxElementsInMemory in ehcache?
body: <p>I have below configuration in my project</p>
  
  <pre><code>&lt;defaultCache maxElementsInMemory="100" eternal="false" overflowToDisk="false" memoryStoreEvictionPolicy="LRU" statistics="false" /&gt;
  
  &lt;cache name="customerList" maxElementsInMemory="1000" eternal="false" overflowToDisk="false" memoryStoreEvictionPolicy="LRU" /&gt;
  </code></pre>
  
  <p>As per my understanding <code>eternal =true</code> attribute explains cache will never expire. But when i mention <code>eternal =false</code>, how long cache will remain active?</p>
  
  <p>Also i have mentioned <code>maxElementsInMemory=1000</code>, what will happen when i have more than 1000 elements to put in cache. Will not they be stored in cache and discarded ?</p>