Statistics
| Revision:

root / trunk / extensions / extGeoProcessing / lib / ehcache.xsd @ 11445

History | View | Annotate | Download (3.11 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3
  <xs:element name="ehcache">
4
    <xs:complexType>
5
      <xs:sequence>
6
        <xs:element ref="diskStore"/>
7
        <xs:element ref="cacheManagerEventListenerFactory"/>
8
        <xs:element ref="cacheManagerPeerProviderFactory"/>
9
        <xs:element ref="cacheManagerPeerListenerFactory"/>
10
        <xs:element ref="defaultCache"/>
11
        <xs:element maxOccurs="unbounded" ref="cache"/>
12
      </xs:sequence>
13
    </xs:complexType>
14
  </xs:element>
15
  <xs:element name="diskStore">
16
    <xs:complexType>
17
      <xs:attribute name="path" use="required" type="xs:NCName"/>
18
    </xs:complexType>
19
  </xs:element>
20
  <xs:element name="cacheManagerEventListenerFactory">
21
    <xs:complexType>
22
      <xs:attribute name="class" use="required"/>
23
      <xs:attribute name="properties" use="optional"/>
24
    </xs:complexType>
25
  </xs:element>
26
  <xs:element name="cacheManagerPeerProviderFactory">
27
    <xs:complexType>
28
      <xs:attribute name="class" use="required"/>
29
      <xs:attribute name="properties" use="optional"/>
30
    </xs:complexType>
31
  </xs:element>
32
  <xs:element name="cacheManagerPeerListenerFactory">
33
    <xs:complexType>
34
      <xs:attribute name="class" use="required"/>
35
      <xs:attribute name="properties" use="optional"/>
36
    </xs:complexType>
37
  </xs:element>
38
  <xs:element name="defaultCache">
39
    <xs:complexType>
40
      <xs:attribute name="diskExpiryThreadIntervalSeconds" use="optional" type="xs:integer"/>
41
      <xs:attribute name="diskPersistent" use="optional" type="xs:boolean"/>
42
      <xs:attribute name="eternal" use="required" type="xs:boolean"/>
43
      <xs:attribute name="maxElementsInMemory" use="required" type="xs:integer"/>
44
      <xs:attribute name="memoryStoreEvictionPolicy" use="optional" type="xs:NCName"/>
45
      <xs:attribute name="overflowToDisk" use="required" type="xs:boolean"/>
46
      <xs:attribute name="timeToIdleSeconds" use="optional" type="xs:integer"/>
47
      <xs:attribute name="timeToLiveSeconds" use="optional" type="xs:integer"/>
48
    </xs:complexType>
49
  </xs:element>
50
  <xs:element name="cache">
51
    <xs:complexType>
52
      <xs:sequence>
53
        <xs:element minOccurs="0" ref="cacheEventListenerFactory"/>
54
      </xs:sequence>
55
      <xs:attribute name="diskExpiryThreadIntervalSeconds" type="xs:integer"/>
56
      <xs:attribute name="diskPersistent" type="xs:boolean"/>
57
      <xs:attribute name="eternal" use="required" type="xs:boolean"/>
58
      <xs:attribute name="maxElementsInMemory" use="required" type="xs:integer"/>
59
      <xs:attribute name="memoryStoreEvictionPolicy" type="xs:NCName"/>
60
      <xs:attribute name="name" use="required" type="xs:NCName"/>
61
      <xs:attribute name="overflowToDisk" use="required" type="xs:boolean"/>
62
      <xs:attribute name="timeToIdleSeconds" type="xs:integer"/>
63
      <xs:attribute name="timeToLiveSeconds" type="xs:integer"/>
64
    </xs:complexType>
65
  </xs:element>
66
  <xs:element name="cacheEventListenerFactory">
67
    <xs:complexType>
68
      <xs:attribute name="class" use="required"/>
69
      <xs:attribute name="properties" use="optional"/>
70
    </xs:complexType>
71
  </xs:element>
72
</xs:schema>