Skip to content

Instantly share code, notes, and snippets.

Created October 8, 2013 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6882267 to your computer and use it in GitHub Desktop.
Save anonymous/6882267 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:5.2 http://www.infinispan.org/schemas/infinispan-config-5.2.xsd
urn:infinispan:config:jdbc:5.2 http://www.infinispan.org/schemas/infinispan-cachestore-jdbc-config-5.2.xsd"
xmlns="urn:infinispan:config:5.2" xmlns:jdbc="urn:infinispan:config:jdbc:5.2">
<global>
<evictionScheduledExecutor
factory="org.infinispan.executors.DefaultScheduledExecutorFactory">
<properties>
<property name="threadNamePrefix" value="EvictionThread" />
</properties>
</evictionScheduledExecutor>
<globalJmxStatistics enabled="true" />
<transport clusterName="File-Cluster-Cache"></transport>
</global>
<default>
<eviction strategy="LRU" maxEntries="2000" />
<expiration lifespan="3600000" maxIdle="3500000" />
<jmxStatistics enabled="true" />
</default>
<namedCache name="TuneCache">
<clustering mode="replication">
<stateTransfer chunkSize="0" fetchInMemoryState="false"
timeout="240000" />
<async useReplQueue="true" replQueueInterval="10000"
replQueueMaxElements="100" />
</clustering>
<eviction strategy="LRU" maxEntries="2000" />
<jmxStatistics enabled="true" />
</namedCache>
<namedCache name="PictureCache">
<clustering mode="replication">
<stateTransfer chunkSize="0" fetchInMemoryState="false"
timeout="240000" />
<async useReplQueue="true" replQueueInterval="10000"
replQueueMaxElements="100" />
</clustering>
<eviction strategy="LRU" maxEntries="2000" />
<jmxStatistics enabled="true" />
</namedCache>
</infinispan>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment