Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd">
- <diskStore path="ehcache.disk.store.dir/liferay-multi-vm" />
- <cacheManagerPeerProviderFactory
- class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
- properties="peerDiscovery=automatic, multicastGroupAddress=230.0.0.1, multicastGroupPort=4447, timeToLive=255" />
- <!-- set port = 4000 + node number -->
- <cacheManagerPeerListenerFactory
- class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
- properties="port=40003, socketTimeoutMillis=2000" />
- <defaultCache maxElementsInMemory="10000" eternal="false"
- timeToIdleSeconds="100" timeToLiveSeconds="100" overflowToDisk="true">
- <cacheEventListenerFactory
- class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
- properties="replicateAsynchronously=true, replicatePuts=true, replicateUpdates=true, replicateUpdatesViaCopy=true, replicateRemovals=true " />
- <bootstrapCacheLoaderFactory
- class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory" />
- </defaultCache>
- <cache
- name="com.liferay.portal.kernel.dao.orm.EntityCache"
- maxElementsInMemory="10000"
- eternal="false"
- timeToIdleSeconds="100"
- overflowToDisk="true"
- >
- <cacheEventListenerFactory
- class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
- properties="replicatePuts=false,replicateUpdatesViaCopy=false"
- propertySeparator=","
- />
- <bootstrapCacheLoaderFactory class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory" />
- </cache>
- <cache
- name="com.liferay.portal.kernel.dao.orm.FinderCache"
- maxElementsInMemory="10000"
- eternal="false"
- timeToIdleSeconds="100"
- overflowToDisk="true"
- >
- <cacheEventListenerFactory
- class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
- properties="replicateAsynchronously=true, replicatePuts=true, replicateUpdates=true, replicateUpdatesViaCopy=true, replicateRemovals=true, asynchronousReplicationIntervalMillis=1000" />
- <bootstrapCacheLoaderFactory
- class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"
- properties="bootstrapAsynchronously=true, maximumChunkSizeBytes=5000000" />
- </cache>
- <cache
- name="com.liferay.portal.security.permission.PermissionCacheUtil"
- maxElementsInMemory="10000"
- eternal="false"
- timeToIdleSeconds="100"
- overflowToDisk="true"
- >
- <cacheEventListenerFactory
- class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
- properties="replicateAsynchronously=true, replicatePuts=true, replicateUpdates=true, replicateUpdatesViaCopy=true, replicateRemovals=true, asynchronousReplicationIntervalMillis=1000" />
- <bootstrapCacheLoaderFactory
- class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"
- properties="bootstrapAsynchronously=true, maximumChunkSizeBytes=5000000" />
- </cache>
- <cache
- name="com.liferay.portal.service.impl.PortletPreferencesLocalUtil"
- maxElementsInMemory="10000"
- eternal="false"
- timeToIdleSeconds="100"
- overflowToDisk="true"
- >
- <cacheEventListenerFactory
- class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
- properties="replicateAsynchronously=true, replicatePuts=true, replicateUpdates=true, replicateUpdatesViaCopy=true, replicateRemovals=true, asynchronousReplicationIntervalMillis=1000" />
- <bootstrapCacheLoaderFactory
- class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"
- properties="bootstrapAsynchronously=true, maximumChunkSizeBytes=5000000" />
- </cache>
- <cache
- name="com.liferay.portal.servlet.filters.cache.CacheUtil"
- maxElementsInMemory="1000"
- eternal="false"
- timeToLiveSeconds="100"
- overflowToDisk="true"
- >
- <cacheEventListenerFactory
- class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
- properties="replicateAsynchronously=true, replicatePuts=true, replicateUpdates=true, replicateUpdatesViaCopy=true, replicateRemovals=true, asynchronousReplicationIntervalMillis=1000" />
- <bootstrapCacheLoaderFactory
- class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"
- properties="bootstrapAsynchronously=true, maximumChunkSizeBytes=5000000" />
- </cache>
- <cache
- name="com.liferay.portlet.calendar.service.impl.CalEventLocalUtil"
- maxElementsInMemory="10000"
- eternal="false"
- timeToIdleSeconds="100"
- overflowToDisk="true"
- >
- <cacheEventListenerFactory
- class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
- properties="replicateAsynchronously=true, replicatePuts=true, replicateUpdates=true, replicateUpdatesViaCopy=true, replicateRemovals=true, asynchronousReplicationIntervalMillis=1000" />
- <bootstrapCacheLoaderFactory
- class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"
- properties="bootstrapAsynchronously=true, maximumChunkSizeBytes=5000000" />
- </cache>
- <cache
- name="com.liferay.portlet.journalcontent.util.JournalContent"
- maxElementsInMemory="1000"
- eternal="false"
- timeToLiveSeconds="100"
- overflowToDisk="true"
- >
- <cacheEventListenerFactory
- class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
- properties="replicateAsynchronously=true, replicatePuts=true, replicateUpdates=true, replicateUpdatesViaCopy=true, replicateRemovals=true, asynchronousReplicationIntervalMillis=1000" />
- <bootstrapCacheLoaderFactory
- class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"
- properties="bootstrapAsynchronously=true, maximumChunkSizeBytes=5000000" />
- </cache>
- </ehcache>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement