The cache-config element is the root element of the cache configuration descriptor.

At a high level a cache configuration consists of cache schemes and cache scheme mappings. Cache schemes describe a type of cache, for instance a database backed, distributed cache. Cache mappings define what scheme to use for a given cache name.


The following table describes the elements you can define within the cache-config element.

Element Required/Optional Description
<caching-scheme-mapping> Required Specifies the cacheing-scheme that will be used for caches, based on the cache's name.
<caching-schemes> Required Defines the available caching-schemes for use in the cluster.