ehcache.hibernate-terracotta.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-impl Show documentation
Show all versions of portal-impl Show documentation
Contains implementation for the portal services.
<!-- This configuration is optimized for Terracotta. The attribute maxElementsInMemory has been increased to account for the capabilities that Terracotta provides. --> <ehcache dynamicConfig="false" name="hibernate-terracotta" updateCheck="false" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd" > <defaultCache eternal="false" maxElementsInMemory="100000" overflowToDisk="false" timeToIdleSeconds="600" > <terracotta /> </defaultCache> <cache eternal="true" maxElementsInMemory="100000" name="org.hibernate.cache.UpdateTimestampsCache" overflowToDisk="false" > <terracotta /> </cache> <cache eternal="false" maxElementsInMemory="100000" name="com.liferay.portal.model.impl.UserImpl" overflowToDisk="false" timeToIdleSeconds="600" > <terracotta /> </cache> <terracottaConfig url="localhost:9510" /> </ehcache>