123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- ~ JBoss, Home of Professional Open Source.
- ~ Copyright 2011, Red Hat, Inc., and individual contributors
- ~ as indicated by the @author tags. See the copyright.txt file in the
- ~ distribution for a full listing of individual contributors.
- ~
- ~ This is free software; you can redistribute it and/or modify it
- ~ under the terms of the GNU Lesser General Public License as
- ~ published by the Free Software Foundation; either version 2.1 of
- ~ the License, or (at your option) any later version.
- ~
- ~ This software is distributed in the hope that it will be useful,
- ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
- ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- ~ Lesser General Public License for more details.
- ~
- ~ You should have received a copy of the GNU Lesser General Public
- ~ License along with this software; if not, write to the Free
- ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- -->
- <xs:schema targetNamespace="urn:jboss:domain:infinispan:1.0"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:tns="urn:jboss:domain:infinispan:1.0"
- elementFormDefault="qualified"
- attributeFormDefault="unqualified"
- version="1.0">
- <xs:element name="subsystem" type="tns:subsystem">
- <xs:annotation>
- <xs:documentation>Enumerates the cache containers available to the registry.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:complexType name="subsystem">
- <xs:sequence>
- <xs:element name="cache-container" type="tns:cache-container" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Defines an embedded cache container.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="default-cache-container" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Identifies the default cache container.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="cache-container">
- <xs:sequence>
- <xs:element name="alias" type="xs:string" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Defines an additional name by which this cache container may be referenced.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="transport" type="tns:transport" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Overrides the transport characteristics for this cache container.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:choice maxOccurs="unbounded">
- <xs:element name="local-cache" type="tns:local-cache">
- <xs:annotation>
- <xs:documentation>Defines a LOCAL mode cache.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="replicated-cache" type="tns:replicated-cache">
- <xs:annotation>
- <xs:documentation>Defines a REPL_* mode cache.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="invalidation-cache" type="tns:invalidation-cache">
- <xs:annotation>
- <xs:documentation>Defines an INVALIDATION_* mode cache.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="distributed-cache" type="tns:distributed-cache">
- <xs:annotation>
- <xs:documentation>Defines a DIST_* mode cache.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Uniquely identifies this cache container.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="jndi-name" type="xs:string">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="default-cache" type="xs:string">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="listener-executor" type="xs:string">
- <xs:annotation>
- <xs:documentation>Defines the executor used for asynchronous cache listener notifications.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="eviction-executor" type="xs:string">
- <xs:annotation>
- <xs:documentation>Defines the scheduled executor used for evictions.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="replication-queue-executor" type="xs:string">
- <xs:annotation>
- <xs:documentation>Defines the scheduled executor used by the asynchronous replication queue.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="transport">
- <xs:attribute name="stack" type="xs:string">
- <xs:annotation>
- <xs:documentation>Defines the jgroups stack used by the transport.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="executor" type="xs:string" >
- <xs:annotation>
- <xs:documentation>Defines the executor used for asynchronous transport communication.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="lock-timeout" type="xs:long" default="60000">
- <xs:annotation>
- <xs:documentation>
- Infinispan uses a distributed lock to maintain a coherent transaction log during state transfer or rehashing, which means that only one cache can be doing state transfer or rehashing at the same time.
- This constraint is in place because more than one cache could be involved in a transaction.
- This timeout controls the time to wait to acquire acquire a lock on the distributed lock.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="site" type="xs:string">
- <xs:annotation>
- <xs:documentation>Identifies the site where this node runs.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="rack" type="xs:string">
- <xs:annotation>
- <xs:documentation>Identifies the rack where this node runs.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="machine" type="xs:string">
- <xs:annotation>
- <xs:documentation>Identifies the machine where this node runs.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="cache" abstract="true">
- <xs:sequence>
- <xs:element name="locking" type="tns:locking" minOccurs="0">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="transaction" type="tns:transaction" minOccurs="0">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="eviction" type="tns:eviction" minOccurs="0">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="expiration" type="tns:expiration" minOccurs="0">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:choice minOccurs="0">
- <xs:element name="store" type="tns:custom-store">
- <xs:annotation>
- <xs:documentation>Defines a custom cache store.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="file-store" type="tns:file-store">
- <xs:annotation>
- <xs:documentation>Defines a file-based cache store.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="jdbc-store" type="tns:jdbc-store">
- <xs:annotation>
- <xs:documentation>Defines a database cache store accessed via JDBC.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="remote-store" type="tns:remote-store">
- <xs:annotation>
- <xs:documentation>
- Defines a remote cache store accessed via HotRod.
- Nested properties will be treated as HotRod client properties.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Uniquely identifies this cache within its cache container.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="start" type="tns:controller-mode" default="LAZY">
- <xs:annotation>
- <xs:documentation>Should this cache be started on server startup, or lazily when requested by a service or deployment.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="batching" type="xs:boolean" default="false">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="indexing" type="tns:indexing" default="NONE">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="local-cache">
- <xs:complexContent>
- <xs:extension base="tns:cache"></xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="locking">
- <xs:attribute name="isolation" type="tns:isolation" default="REPEATABLE_READ">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="striping" type="xs:boolean" default="false">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="acquire-timeout" type="xs:long" default="15000">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="concurrency-level" type="xs:int" default="1000">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="transaction">
- <xs:attribute name="mode" type="tns:transaction-mode" default="NON_XA">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="stop-timeout" type="xs:long" default="30000">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="eager-locking" type="tns:eager-locking" default="SINGLE">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="eviction">
- <xs:attribute name="strategy" type="tns:eviction-strategy" default="NONE">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="max-entries" type="xs:int" default="10000">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="expiration">
- <xs:attribute name="max-idle" type="xs:long" default="-1">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="lifespan" type="xs:long" default="-1">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="interval" type="xs:long" default="5000">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="clustered-cache" abstract="true">
- <xs:complexContent>
- <xs:extension base="tns:cache">
- <xs:attribute name="mode" type="tns:mode" use="required">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="queue-size" type="xs:int" default="1000">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="queue-flush-interval" type="xs:long" default="10">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="remote-timeout" type="xs:long" default="17500">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="invalidation-cache">
- <xs:complexContent>
- <xs:extension base="tns:clustered-cache"></xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="replicated-cache">
- <xs:complexContent>
- <xs:extension base="tns:clustered-cache">
- <xs:sequence>
- <xs:element name="state-transfer" type="tns:state-transfer" minOccurs="0">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="distributed-cache">
- <xs:complexContent>
- <xs:extension base="tns:clustered-cache">
- <xs:sequence>
- <xs:element name="rehashing" type="tns:rehashing" minOccurs="0">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="owners" type="xs:int" default="2">
- <xs:annotation>
- <xs:documentation>Number of cluster-wide replicas for each cache entry.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="virtual-nodes" type="xs:int" default="1">
- <xs:annotation>
- <xs:documentation>Controls the number of virtual nodes per "real" node.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="l1-lifespan" type="xs:long" default="600000">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="store" abstract="true">
- <xs:sequence>
- <xs:element name="property" type="tns:property" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="shared" type="xs:boolean" default="false">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="preload" type="xs:boolean" default="false">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="passivation" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="fetch-state" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="purge" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="singleton" type="xs:boolean" default="false">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="custom-store">
- <xs:complexContent>
- <xs:extension base="tns:store">
- <xs:attribute name="class" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>The class name of the cache store implementation.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="file-store">
- <xs:complexContent>
- <xs:extension base="tns:store">
- <xs:attribute name="relative-to" type="xs:string" default="jboss.server.data.dir">
- <xs:annotation>
- <xs:documentation>The base directory in which to store the cache state.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="path" type="xs:string">
- <xs:annotation>
- <xs:documentation>
- The path within "relative-to" in which to store the cache state.
- If undefined, the path defaults to the cache container name.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="remote-store">
- <xs:complexContent>
- <xs:extension base="tns:store">
- <xs:sequence>
- <xs:element name="remote-server" type="tns:remote-server" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="cache" type="xs:string">
- <xs:annotation>
- <xs:documentation>The name of the remote cache. If undefined, the default cache will be used.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="socket-timeout" type="xs:long" default="60000">
- <xs:annotation>
- <xs:documentation>
- Enable/disable SO_TIMEOUT on socket connections to remote Hot Rod servers with the specified timeout, in milliseconds.
- A timeout of zero is interpreted as an infinite timeout.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="tcp-no-delay" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation>
- Enable/disable TCP_NODELAY on socket connections to remote Hot Rod servers.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="remote-server">
- <xs:attribute name="outbound-socket-binding"/>
- </xs:complexType>
- <xs:complexType name="jdbc-store">
- <xs:complexContent>
- <xs:extension base="tns:store">
- <xs:sequence>
- <xs:element name="bucket-table" type="tns:bucket-table" minOccurs="0">
- <xs:annotation>
- <xs:documentation>
- Defines the table used to store cache buckets.
- If an entry-table is also defined, a mixed-mode cache store will be used.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="entry-table" type="tns:entry-table" minOccurs="0">
- <xs:annotation>
- <xs:documentation>
- Defines the table used to store cache entries.
- If a bucket-table is also defined, a mixed-mode cache store will be used.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="datasource" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Defines the jndi name of the datasource.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="entry-table">
- <xs:complexContent>
- <xs:extension base="tns:table">
- <xs:attribute name="prefix" type="xs:string" default="ispn_entry">
- <xs:annotation>
- <xs:documentation>Defines the prefix prepended to the cache name used when composing the name of the cache entry table.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="bucket-table">
- <xs:complexContent>
- <xs:extension base="tns:table">
- <xs:attribute name="prefix" type="xs:string" default="ispn_bucket">
- <xs:annotation>
- <xs:documentation>Defines the prefix prepended to the cache name used when composing the name of the cache bucket table.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="table">
- <xs:sequence>
- <xs:element name="id-column" type="tns:id-column" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Defines the column in which to store the cache key or bucket id.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="data-column" type="tns:data-column" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Defines the column in which to store the cache entry or bucket.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="timestamp-column" type="tns:timestamp-column" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Defines the column in which to store the timestamp of the cache entry or bucket.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="fetch-size" type="xs:int" default="100">
- <xs:annotation>
- <xs:documentation>The fetch size used when querying from this table. Used to avoid heap memory exhaustion when query is large.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="batch-size" type="xs:int" default="100">
- <xs:annotation>
- <xs:documentation>The statement batch size used when modifying this table.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="id-column">
- <xs:attribute name="name" type="xs:string" default="id">
- <xs:annotation>
- <xs:documentation>The name of the column used to store the cache key or bucket id.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="type" type="xs:string" default="VARCHAR">
- <xs:annotation>
- <xs:documentation>The type of the column used to store the cache key or bucket id.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="data-column">
- <xs:attribute name="name" type="xs:string" default="datum">
- <xs:annotation>
- <xs:documentation>The name of the column used to store the cache entry or bucket.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="type" type="xs:string" default="BINARY">
- <xs:annotation>
- <xs:documentation>The type of the column used to store the cache entry or bucket.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="timestamp-column">
- <xs:attribute name="name" type="xs:string" default="version">
- <xs:annotation>
- <xs:documentation>The name of the column used to store the cache entry or bucket timestamp.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="type" type="xs:string" default="BIGINT">
- <xs:annotation>
- <xs:documentation>The type of the column used to store the cache entry or bucket timestamp.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="state-transfer">
- <xs:attribute name="enabled" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="timeout" type="xs:long" default="60000">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="flush-timeout" type="xs:long" default="60000">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="rehashing">
- <xs:attribute name="enabled" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="timeout" type="xs:long" default="600000">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="property">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Defines the name of a property.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:simpleType name="isolation">
- <xs:restriction base="xs:token">
- <xs:enumeration value="NONE">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="READ_UNCOMMITTED">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="READ_COMMITTED">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="REPEATABLE_READ">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="SERIALIZABLE">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="transaction-mode">
- <xs:restriction base="xs:token">
- <xs:enumeration value="NON_XA">
- <xs:annotation>
- <xs:documentation>Cache will enlist within transactions as a javax.transaction.Synchronization</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="NON_DURABLE_XA">
- <xs:annotation>
- <xs:documentation>Cache will enlist within transactions as a javax.transaction.xa.XAResource, without recovery.</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="FULL_XA">
- <xs:annotation>
- <xs:documentation>Cache will enlist within transactions as a javax.transaction.xa.XAResource, with recovery.</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="eager-locking">
- <xs:restriction base="xs:token">
- <xs:enumeration value="NONE">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="SINGLE">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="ALL">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="indexing">
- <xs:restriction base="xs:token">
- <xs:enumeration value="NONE">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="LOCAL">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="ALL">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="eviction-strategy">
- <xs:restriction base="xs:token">
- <xs:enumeration value="NONE">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="UNORDERED">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="FIFO">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="LRU">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="LIRS">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="mode">
- <xs:restriction base="xs:token">
- <xs:enumeration value="ASYNC">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="SYNC">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="controller-mode">
- <xs:restriction base="xs:token">
- <xs:enumeration value="EAGER">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="LAZY">
- <xs:annotation>
- <xs:documentation></xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- </xs:schema>
|