Skip to content

Instantly share code, notes, and snippets.

@codinko
Created January 17, 2016 05:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codinko/c162656633b2f9eaa7da to your computer and use it in GitHub Desktop.
Save codinko/c162656633b2f9eaa7da to your computer and use it in GitHub Desktop.
Ehcache.xml used in Spring project
<?xml version="1.0" encoding="UTF-8"?>
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd"
updateCheck="false">
<!-- Default Cache Configuration, with name 'default' -->
<defaultCache maxElementsInMemory="50" eternal="false"
overflowToDisk="false" memoryStoreEvictionPolicy="LFU" />
<cache name="employeeCache" maxElementsInMemory="50" eternal="false"
overflowToDisk="false" memoryStoreEvictionPolicy="LFU" />
</ehcache>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment