<infinispan> <global> <globalJmxStatistics> <properties> <replicationQueueScheduledExecutor> <properties> <transport> <properties> <asyncTransportExecutor> <properties> <serialization> <externalizers> <externalizer> <shutdown> <evictionScheduledExecutor> <properties> <asyncListenerExecutor> <properties> <default> <transaction> <invocationBatching> <loaders> <loader> <async> <properties> <singletonStore> <clustering> <sync> <l1> <stateRetrieval> <async> <hash> <lazyDeserialization> <deadlockDetection> <eviction> <dataContainer> <properties> <customInterceptors> <interceptor> <properties> <unsafe> <jmxStatistics> <indexing> <locking> <expiration>
Configuration for the async cache loader. If enabled, this provides you with asynchronous writes
to the cache store, giving you 'write-behind' caching.
The parent element is <loader>.
Attribute | Type | Default | Description |
---|---|---|---|
flushLockTimeout |
long |
5000 | Timeout to acquire the lock which guards the state to be flushed to the cache store periodically. (Javadoc) |
threadPoolSize |
int |
1 | Size of the thread pool whose threads are responsible for applying the modifications. (Javadoc) |
shutdownTimeout |
long |
7200 | Timeout to stop the cache store. When the store is stopped it's possible that some modifications still need to be applied; you likely want to set a very large timeout to make sure to not loose data (Javadoc) |
enabled |
boolean |
false | If true, all modifications to this cache store happen asynchronously, on a separate thread. (Javadoc) |
If this element is present, 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. This element is mutually exclusive with
the <sync />
element.
Characteristics of this can be tuned here.
The parent element is <clustering>.
Attribute | Type | Default | Description |
---|---|---|---|
asyncMarshalling |
boolean |
false | If true, asynchronous marshalling is enabled which means that caller can return even quicker, but it can suffer from reordering of operations. You can find more information here (Javadoc) |
replQueueMaxElements |
int |
1000 | If useReplQueue is set to true, this attribute can be used to trigger flushing of the queue when it reaches a specific threshold. (Javadoc) |
useReplQueue |
boolean |
false | If true, this forces all async communications to be queued up and sent out periodically as a batch. (Javadoc) |
replQueueClass |
string |
org.infinispan.remoting.ReplicationQueueImpl | This overrides the replication queue implementation class. Overriding the default allows you to add behavior to the queue, typically by subclassing the default implementation. (Javadoc) |
replQueueInterval |
long |
5000 | If useReplQueue is set to true, this attribute controls how often the asynchronous thread used to flush the replication queue runs. This should be a positive integer which represents thread wakeup time in milliseconds. (Javadoc) |
Configuration for the executor service used to emit notifications to asynchronous listeners
The parent element is <global>. The only child element is <properties>.
Attribute | Type | Default | Description |
---|---|---|---|
factory |
string |
org.infinispan.executors.DefaultExecutorFactory | Fully qualified class name of the ExecutorFactory to use. Must implement org.infinispan.executors.ExecutorFactory (Javadoc) |
Property | Description |
---|---|
threadNamePrefix | Thread name prefix for threads created by this executor. Default values can be found here |
maxThreads | Maximum number of threads for this executor. Default values can be found here |
Configuration for the executor service used for asynchronous work on the Transport, including asynchronous marshalling and Cache 'async operations' such as Cache.putAsync().
The parent element is <global>. The only child element is <properties>.
Attribute | Type | Default | Description |
---|---|---|---|
factory |
string |
org.infinispan.executors.DefaultExecutorFactory | Fully qualified class name of the ExecutorFactory to use. Must implement org.infinispan.executors.ExecutorFactory (Javadoc) |
Property | Description |
---|---|
threadNamePrefix | Thread name prefix for threads created by this executor. Default values can be found here |
maxThreads | Maximum number of threads for this executor. Default values can be found here |
Defines clustered characteristics of the cache.
The parent element is <default>. Child elements are <sync>, <l1>, <stateRetrieval>, <async>, <hash>.
Attribute | Type | Default | Description |
---|---|---|---|
mode |
string |
DIST_SYNC | Cache mode. For distribution, set mode to either 'd', 'dist' or 'distribution'. For replication, use either 'r', 'repl' or 'replication'. Finally, for invalidation, 'i', 'inv' or 'invalidation'. If the cache mode is set to 'l' or 'local', the cache in question will not support clustering even if its cache manager does. (Javadoc) |
Configures custom interceptors to be added to the cache.
The parent element is <default>. The only child element is <interceptor>.
This element controls the data container for the cache.
The parent element is <default>. The only child element is <properties>.
Attribute | Type | Default | Description |
---|---|---|---|
class |
string |