4.2. About Cache Containers
Cache containers are used in JBoss Data Grid's Remote Client-Server mode as a starting point for a cache. The
cache-container element acts as a parent of one or more (local or clustered) caches. To add clustered caches to the container, transport must be defined.
The following is a sample cache container configuration:
The
cache-container element specifies information about the cache container using the following parameters:
- The
nameparameter defines the name of the cache container. - The
default-cacheparameter defines the name of the default cache used with the cache container. - The
listener-executordefines the executor used for asynchronous cache listener notifications. - The
startparameter indicates when the cache container starts, i.e. whether it will start lazily when requested or "eagerly" when the server starts up. Valid values for this parameter areEAGERandLAZY.