Infinispan Cache Container Configuration: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
<pre> | <pre> | ||
<subsystem xmlns="urn:infinispan:server:core:6.4"> | <subsystem xmlns="urn:infinispan:server:core:6.4" default-cache-container="clustered"> | ||
<cache-container name="clustered" default-cache="default" statistics="true"> | <cache-container name="clustered" default-cache="default" statistics="true"> | ||
<transport executor="infinispan-transport" lock-timeout="60000"/> | <transport executor="infinispan-transport" lock-timeout="60000"/> |
Revision as of 16:04, 31 May 2016
Internal
Overview
As described in the Cache Container section of the Infinispan Concepts page, the <cache-container> element contains global configuration for a set of caches. The cache container global configuration defines global settings shared among all cache instances created for the respective cache container. Shared resources like thread pools, serialization/marshaling settings, transport and network settings are all part of global configuration.
<subsystem xmlns="urn:infinispan:server:core:6.4" default-cache-container="clustered"> <cache-container name="clustered" default-cache="default" statistics="true"> <transport executor="infinispan-transport" lock-timeout="60000"/> <distributed-cache name="default" ... /> <replicated-cache .../> </cache-container> ... </subsystem>