Last active
December 29, 2015 10:49
-
-
Save tristantarrant/7659480 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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