Skip to content

Instantly share code, notes, and snippets.

@eivinhb
Created May 24, 2012 10:19
Show Gist options
  • Save eivinhb/2780709 to your computer and use it in GitHub Desktop.
Save eivinhb/2780709 to your computer and use it in GitHub Desktop.
Ehcache used in blogpost
<ehcache>
<diskStore path="java.io.tmpdir"/>
<defaultCache
name="name_of_cache"
maxEntriesLocalHeap="1000"
eternal="false"
timeToIdleSeconds="120"
timeToLiveSeconds="120"
overflowToDisk="true"
maxEntriesLocalDisk="10000000"
diskPersistent="false"
diskExpiryThreadIntervalSeconds="120"
memoryStoreEvictionPolicy="LRU"
/>
</ehcache>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment