title: How to configure cache expiry to none and overflowToDisk="false" in ehcache 3.5 version?
body: <p>In ehcache 2.x version I have following configuration.</p>
  
  <pre><code>&lt;cache name="basicCache"
          maxEntriesLocalHeap="400"
          eternal="true"
          timeToIdleSeconds="0"
          timeToLiveSeconds="0"
          overflowToDisk="false"&gt;             
      &lt;/cache&gt;
  </code></pre>
  
  <p>Following is the corresponding ehcache 3.x version. </p>
  
  <pre><code>&lt;ehcache:cache alias="basicCache"&gt;
          &lt;ehcache:key-type&gt;java.lang.Long&lt;/ehcache:key-type&gt;
      &lt;ehcache:value-type&gt;java.lang.String&lt;/ehcache:value-type&gt;           
          &lt;ehcache:resources&gt;
              &lt;ehcache:heap unit=entries"&gt;400&lt;/ehcache:heap&gt;
          &lt;/ehcache:resources&gt;    
      &lt;/ehcache:cache&gt;
  </code></pre>
  
  <p>can someone help me to configure below attributes in ehcache 3.5.2 version.</p>
  
  <blockquote>
    <p><strong>eternal="true"</strong> and 
    <strong>overflowToDisk="false"</strong></p>
  </blockquote>