n.infinispan-server-runtime.15.1.0.Dev03.source-code.infinispan-defaults.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- N.B. This is *not* meant to be a usable cache configuration --> <!-- This file supplies the internal configuration defaults per cache mode --> <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:infinispan:config:15.0 https://infinispan.org/schemas/infinispan-config-15.0.xsd" xmlns="urn:infinispan:config:15.0"> <cache-container shutdown-hook="DONT_REGISTER"> <global-state> <persistent-location path="${infinispan.server.data.path}"/> <shared-persistent-location path="${infinispan.server.data.path}"/> <overlay-configuration-storage/> </global-state> <local-cache-configuration name="org.infinispan.LOCAL" statistics="true"> <locking acquire-timeout="15000" striping="false" concurrency-level="1000"/> </local-cache-configuration> <replicated-cache-configuration name="org.infinispan.REPL_SYNC" remote-timeout="17500" configuration="org.infinispan.LOCAL"> <state-transfer timeout="60000"/> </replicated-cache-configuration> <replicated-cache-configuration name="org.infinispan.REPL_ASYNC" mode="ASYNC" configuration="org.infinispan.LOCAL"> <state-transfer timeout="60000"/> </replicated-cache-configuration> <distributed-cache-configuration name="org.infinispan.DIST_SYNC" remote-timeout="17500" configuration="org.infinispan.LOCAL"> <state-transfer timeout="60000"/> </distributed-cache-configuration> <distributed-cache-configuration name="example.PROTOBUF_DIST" remote-timeout="17500" configuration="org.infinispan.LOCAL"> <!-- Template for a queryable cache. Warning: may be removed in future versions --> <encoding media-type="application/x-protostream"/> <state-transfer timeout="60000"/> </distributed-cache-configuration> <distributed-cache-configuration name="org.infinispan.DIST_ASYNC" mode="ASYNC" configuration="org.infinispan.LOCAL"> <state-transfer timeout="60000"/> </distributed-cache-configuration> <invalidation-cache-configuration name="org.infinispan.INVALIDATION_SYNC" remote-timeout="17500" configuration="org.infinispan.LOCAL"/> <invalidation-cache-configuration name="org.infinispan.INVALIDATION_ASYNC" mode="ASYNC" configuration="org.infinispan.LOCAL"/> </cache-container> </infinispan>