Infinispan Cache Container Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Overview=
=Overview=


As described in the [[Infinispan Concepts#Cache_Container|Cache Container section]] of the Infinispan Concepts page, the <tt><cache-container></tt> element contains global configuration for a set of caches.
As described in the [[Infinispan Concepts#Cache_Container|Cache Container section]] of the Infinispan Concepts page, the <tt><cache-container></tt> 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.  


<pre>         
<pre>         

Revision as of 15:57, 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">
    <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>

cache-container Configuration

name

default-cache

statistics