Use the cache.xml file to set up general cache facilities and behavior and to create and initialize cached data regions. These sections document cache.xml requirements; provide hierarchical diagrams of cache.xml elements; and show the specific syntax needed to accomplish typical cache configuration tasks.
Note:
You can configure most elements of the cache.xml file and apply it to your entire cluster by using the gfsh and cluster configuration service. See Cluster Configuration Service Overview for more information.
-
This section documents cache.xml file requirements and variables. It also points you to specific element sections for server, client, and WAN configuration.
-
This section shows the hierarchy of
<cache>element sub-elements that you use to configure Geode caches and servers. -
This section documents the
cache.xmlsub-elements used for Geode server configuration. All elements are sub-elements of the<cache>element. -
<client-cache>Element HierarchyThis section shows the hierarchy of
<client-cache>element sub-elements that you use to configure Geode caches and clients. -
<client-cache>Element ReferenceThis section documents all
cache.xmlelements that you use to configure Geode clients. All elements are sub-elements of the<client-cache>element.