~ubuntu-branches/ubuntu/trusty/ehcache/trusty

« back to all changes in this revision

Viewing changes to src/test/resources/ehcache-invalid-cachewriter-batching.xml

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2013-05-06 14:53:07 UTC
  • mfrom: (1.1.7) (2.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20130506145307-v5bhw5yu70re00l3
Tags: 2.6.7-1
* Team upload.
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>