| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
<ehcache name="basic-cache-test"> |
| 4 |
|
| 5 |
<defaultCache maxElementsInMemory="10000" eternal="true" |
| 6 |
overflowToDisk="false" /> |
| 7 |
|
| 8 |
<cache name="test" maxElementsInMemory="10000" eternal="true" |
| 9 |
overflowToDisk="false"> |
| 10 |
<cacheWriter writeMode="write_behind" maxWriteDelay="8" |
| 11 |
rateLimitPerSecond="5" writeCoalescing="true" writeBatching="true" |
| 12 |
writeBatchSize="20" retryAttempts="2" retryAttemptDelaySeconds="2"> |
| 13 |
<cacheWriterFactory class="net.sf.ehcache.constructs.nonstop.MockCacheWriterFactory" /> |
| 14 |
</cacheWriter> |
| 15 |
</cache> |
| 16 |
|
| 17 |
</ehcache> |