--- /dev/null
+<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd">\r
+ <diskStore path="ehcache.disk.store.dir/hibernate" />\r
+ <cacheManagerEventListenerFactory class="" properties="" />\r
+ <cacheManagerPeerProviderFactory\r
+ class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"\r
+ properties="peerDiscovery=automatic,multicastGroupAddress=230.0.0.1,multicastGroupPort=4446,timeToLive=1"\r
+ propertySeparator=","\r
+ />\r
+ <cacheManagerPeerListenerFactory\r
+ class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"\r
+ />\r
+\r
+ <!--\r
+ Hibernate will use the defaultCache unless custom configurations are defined\r
+ below for individual domain objects, collection, queries, etc.\r
+ -->\r
+\r
+ <defaultCache\r
+ maxElementsInMemory="10000"\r
+ eternal="false"\r
+ timeToIdleSeconds="600"\r
+ overflowToDisk="false"\r
+ >\r
+ <cacheEventListenerFactory\r
+ class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"\r
+ properties="replicatePuts=false,replicateUpdatesViaCopy=false"\r
+ propertySeparator=","\r
+ />\r
+ <bootstrapCacheLoaderFactory class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory" />\r
+ </defaultCache>\r
+\r
+ <!--\r
+ Tracks the timestamps of the most recent updates to particular tables. It is\r
+ important that the cache timeout of the underlying cache implementation be\r
+ set to a higher value than the timeouts of any of the query caches. In fact,\r
+ it is recommend that the the underlying cache not be configured for expiry\r
+ at all.\r
+ -->\r
+\r
+ <cache\r
+ name="org.hibernate.cache.UpdateTimestampsCache"\r
+ maxElementsInMemory="5000"\r
+ eternal="true"\r
+ overflowToDisk="false"\r
+ >\r
+ <cacheEventListenerFactory\r
+ class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"\r
+ />\r
+ <bootstrapCacheLoaderFactory class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory" />\r
+ </cache>\r
+\r
+ <!--\r
+ The cache name is the same as the class name specified in your Hibernate\r
+ mapping file.\r
+ -->\r
+\r
+ <cache\r
+ name="com.liferay.portal.model.impl.UserImpl"\r
+ maxElementsInMemory="10000"\r
+ eternal="false"\r
+ timeToIdleSeconds="600"\r
+ overflowToDisk="false"\r
+ >\r
+ <cacheEventListenerFactory\r
+ class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"\r
+ properties="replicatePuts=false,replicateUpdatesViaCopy=false"\r
+ propertySeparator=","\r
+ />\r
+ <bootstrapCacheLoaderFactory class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory" />\r
+ </cache>\r
+</ehcache>
\ No newline at end of file