All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.modeshape.jcr.default-workspace-cache-config.xml Maven / Gradle / Ivy

There is a newer version: 5.4.1.Final
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="urn:infinispan:config:6.0 http://www.infinispan.org/schemas/infinispan-config-6.0.xsd"
            xmlns="urn:infinispan:config:6.0">
    <global>
        <globalJmxStatistics enabled="false" allowDuplicateDomains="true"/>
    </global>

    <!--
      Define the configuration for each workspace cache. This configuration will be used if there is no "namedCache"
      definition for the workspace name. Note that the names of caches following the convention 
      "{repositoryName}/{workspaceName}".
    -->
    <default>

        <!-- Local in-memory caches with no persistence. -->
        <clustering mode="LOCAL"/>

        <!-- No more that 10K entries per cache, with LIRS eviction. -->
        <eviction maxEntries="10000" strategy="LIRS"/>

        <!-- Expire entries after 120 seconds or after 60 seconds of not being used (whichever comes first). -->
        <expiration lifespan="120000" maxIdle="60000"/>
    </default>
</infinispan>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy