<?xml version= "1.0" encoding= "UTF-8"?>
<!--
CacheManager Configuration
==========================
A ehcache.xml is equivalent to a single CacheManager
Learn the instructions below or how the Ehcache framework (EHCACHE.XSD) is configured
System resource identifiers can be specified in this file, and they will be replaced when the configuration is loaded. For example, Multicastgroupport=${multicastgroupport} is replaced by the system properties of the environment variable, or a system attribute is specified using the-dmulticastgroupport=4446 command-line switch.
The properties of <ehcache> are as follows:
* Optional name for Name–cachemanager. This name was initially used primarily for documentation or to identify terracotta cluster status. For the terracotta cluster cache, a set of CacheManager names and cache names uniquely identifies a specific buffer stored in the terracotta cluster storage.
* updatecheck– An optional Boolean identifier that specifies whether this cachemanager checks for a new version of Ehcache over the Internet. If not specifically specified, updatecheck= "true".
* monitoring– An optional setting that determines whether CacheManager should automatically register Sampledcachembean with the system Mbean server. Now, this monitoring. Use only when using the terracotta cluster and using the Terracotta Developer console. With the "AutoDetect" value, the presence of the terracotta cluster will be detected and monitored and activated through the developer console. Other allowable values are: "On" and "off". The default is "AutoDetect". This setting does not have any effect when using JMX monitoring.
* dynamicconfig– An optional setting that allows the dynamic configuration associated with this CacheManager to be inactivated. The default value for this setting is true-for example, dynamic configuration is active. Dynamically configured caches allow their tti, TTL, and maximum disk and in-memory capacity to change at run time through cached configuration objects.
-
<ehcache xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"
xsi:nonamespaceschemalocation= "Ehcache.xsd"
Updatecheck= "true" monitoring= "AutoDetect"
Dynamicconfig= "true" >
<!--
Diskstore Configuration
=======================
Disk storage is optional. Turn off disk storage path creation, explaining the following disk memory elements.
For any cache, if you have activated Overflowtodisk or diskpersistent, configure disk storage.
If he is not configured and creates a cache that requires disk storage, a warning will be issued and Java.io.tmpdir will be used automatically.
Disk storage has only one property-"path". This path is the directory path where the. Data and. index files are created.
If the path is one of the following Java system attributes, he will be replaced by the values in the running VM. For backwards compatibility, these should be specified without being closed by the ${token} substitution syntax.
<