Skip to content

Instantly share code, notes, and snippets.

@tristantarrant
Last active December 29, 2015 10:49
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 tristantarrant/7659480 to your computer and use it in GitHub Desktop.
Save tristantarrant/7659480 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.3 http://www.infinispan.org/schemas/infinispan-config-5.3.xsd"
xmlns="urn:infinispan:config:5.3">
<!-- *************************** -->
<!-- System-wide global settings -->
<!-- *************************** -->
<global>
<shutdown hookBehavior="DEFAULT" />
</global>
<!-- ************************************** -->
<!-- Individually configured "named" caches -->
<!-- ************************************** -->
<namedCache name="Local"/>
<namedCache name="LocalLimitWithEviction">
<loaders passivation="false" shared="false" preload="true">
<fileStore
fetchPersistentState="true" ignoreModifications="false"
purgeOnStartup="false" location="${java.io.tmpdir}">
</fileStore>
</loaders>
<eviction maxEntries="2" strategy="FIFO" />
</namedCache>
<namedCache name="LocalWithWriteBehind">
<loaders shared="false">
<fileStore fetchPersistentState="true" ignoreModifications="false"
purgeOnStartup="false" location="${java.io.tmpdir}">
<!-- write-behind configuration starts here -->
<async enabled="true" threadPoolSize="500" />
<!-- write-behind configuration ends here -->
</fileStore>
</loaders>
</namedCache>
<namedCache name="LocalTX">
<transaction
transactionManagerLookupClass="org.infinispan.transaction.lookup.DummyTransactionManagerLookup" />
</namedCache>
</infinispan>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment