urn:infinispan:config:5.1
element clustering

Super Types
{urn:infinispan:config:5.1} (restriction)

Documentation
            Defines clustered characteristics of the cache.
          
Properties
This component is not nillable.

Model
<clustering
  mode = xs:string>
(sync ; stateRetrieval ; stateTransfer ; l1 ; async ; hash)
</clustering>


Nested Element Summary
 async
          If configured all communications are asynchronous, in that whenever a thread sends a message sent over the wire, it does not wait for an acknowledgment before returning. 
 hash
          Allows fine-tuning of rehashing characteristics. 
 l1
          Configures the L1 cache behavior in 'distributed' caches instances. 
 stateRetrieval
          Configures how state is retrieved when a new cache joins the cluster. 
 stateTransfer
          Configures how state is transferred when a cache joins or leaves the cluster. 
 sync
          If configured all communications are synchronous, in that whenever a thread sends a message sent over the wire, it blocks until it receives an acknowledgment from the recipient. 

Attribute Summary
 xs:stringmode
          Cache mode. 

Attribute Detail

mode

Cache mode. For distribution, set mode to either 'dist'. For replication, use 'repl'. Finally, for invalidation 'inv'. If the cache mode is set to 'local', the cache in question will not support clustering even if its cache manager does.

Type:
xs:string
Use:
optional
Form:
unqualified

Source
<xs:element minOccurs="0" name="clustering">
<xs:complexType>
<xs:all>
<xs:element minOccurs="0" name="sync">
<xs:complexType>
<xs:attribute name="replTimeout" type="xs:long">
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="stateRetrieval">
<xs:complexType>
<xs:attribute name="alwaysProvideInMemoryState" type="xs:boolean">
</xs:attribute>
<xs:attribute name="fetchInMemoryState" type="xs:boolean">
</xs:attribute>
<xs:attribute name="initialRetryWaitTime" type="xs:long">
</xs:attribute>
<xs:attribute name="logFlushTimeout" type="xs:long">
</xs:attribute>
<xs:attribute name="maxNonProgressingLogWrites" type="xs:int">
</xs:attribute>
<xs:attribute name="numRetries" type="xs:int">
</xs:attribute>
<xs:attribute name="retryWaitTimeIncreaseFactor" type="xs:int">
</xs:attribute>
<xs:attribute name="timeout" type="xs:long">
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="stateTransfer">
<xs:complexType>
<xs:attribute name="chunkSize" type="xs:int">
</xs:attribute>
<xs:attribute name="fetchInMemoryState" type="xs:boolean">
</xs:attribute>
<xs:attribute name="timeout" type="xs:long">
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="l1">
<xs:complexType>
<xs:attribute name="enabled" type="xs:boolean">
</xs:attribute>
<xs:attribute name="invalidationThreshold" type="xs:int">
</xs:attribute>
<xs:attribute name="lifespan" type="xs:long">
</xs:attribute>
<xs:attribute name="cleanupTaskFrequency" type="xs:long">
</xs:attribute>
<xs:attribute name="onRehash" type="xs:boolean">
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="async">
<xs:complexType>
<xs:attribute name="asyncMarshalling" type="xs:boolean">
</xs:attribute>
<xs:attribute name="replQueueClass" type="xs:string">
</xs:attribute>
<xs:attribute name="replQueueInterval" type="xs:long">
</xs:attribute>
<xs:attribute name="replQueueMaxElements" type="xs:int">
</xs:attribute>
<xs:attribute name="useReplQueue" type="xs:boolean">
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="hash">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="groups">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="grouper">
<xs:complexType>
<xs:attribute name="class" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="class" type="xs:string">
</xs:attribute>
<xs:attribute name="hashFunctionClass" type="xs:string">
</xs:attribute>
<xs:attribute name="numOwners" type="xs:int">
</xs:attribute>
<xs:attribute name="numVirtualNodes" type="xs:int">
</xs:attribute>
<xs:attribute name="rehashEnabled" type="xs:boolean">
</xs:attribute>
<xs:attribute name="rehashRpcTimeout" type="xs:long">
</xs:attribute>
<xs:attribute name="rehashWait" type="xs:long">
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="mode" type="xs:string">
</xs:attribute>
</xs:complexType>
</xs:element>


Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://xframe.sourceforge.net.