| 1 |
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd" |
| 2 |
name="invalidCacheBatching"> |
| 3 |
|
| 4 |
<defaultCache |
| 5 |
maxElementsInMemory="10" |
| 6 |
eternal="false" |
| 7 |
timeToIdleSeconds="5" |
| 8 |
timeToLiveSeconds="10" |
| 9 |
overflowToDisk="false" |
| 10 |
/> |
| 11 |
|
| 12 |
<cache name="CWBTest1" |
| 13 |
maxElementsInMemory="10000" |
| 14 |
eternal="false" |
| 15 |
timeToIdleSeconds="360" |
| 16 |
timeToLiveSeconds="1000" |
| 17 |
overflowToDisk="false"> |
| 18 |
|
| 19 |
<cacheWriter writeMode="write_behind" maxWriteDelay="8" rateLimitPerSecond="5" |
| 20 |
writeCoalescing="true" writeBatching="false" writeBatchSize="20" |
| 21 |
retryAttempts="2" retryAttemptDelaySeconds="2"> |
| 22 |
<cacheWriterFactory class="net.sf.ehcache.writer.TestCacheWriterFactory" |
| 23 |
properties="just.some.property=test;" propertySeparator=";"/> |
| 24 |
</cacheWriter> |
| 25 |
|
| 26 |
</cache> |
| 27 |
|
| 28 |
|
| 29 |
</ehcache> |