Created
November 26, 2013 14:49
-
-
Save tristantarrant/7659587 to your computer and use it in GitHub Desktop.
This file contains hidden or 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:6.0 http://www.infinispan.org/schemas/infinispan-config-6.0.xsd" | |
| xmlns="urn:infinispan:config:6.0"> | |
| <!-- *************************** --> | |
| <!-- System-wide global settings --> | |
| <!-- *************************** --> | |
| <global> | |
| <shutdown hookBehavior="DEFAULT" /> | |
| </global> | |
| <!-- ************************************** --> | |
| <!-- Individually configured "named" caches --> | |
| <!-- ************************************** --> | |
| <namedCache name="Local"/> | |
| <namedCache name="LocalLimitWithEviction"> | |
| <persistence passivation="false"> | |
| <singleFile | |
| fetchPersistentState="true" ignoreModifications="false" | |
| purgeOnStartup="false" location="${java.io.tmpdir}"> | |
| </singleFile> | |
| </persistence> | |
| <eviction maxEntries="2" strategy="FIFO" /> | |
| </namedCache> | |
| <namedCache name="LocalWithWriteBehind"> | |
| <persistence> | |
| <singleFile 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 --> | |
| </singleFile> | |
| </persistence> | |
| </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