| --- |
| title: "<client-cache> Element Hierarchy" |
| --- |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| This section shows the hierarchy of `<client-cache>` element sub-elements that you use to configure <%=vars.product_name%> caches and clients. |
| |
| For details, see [<client-cache> Element Reference.](client-cache.html) |
| |
| ``` pre |
| <client-cache> |
| <cache-transaction-manager> |
| <transaction-listener> |
| <transaction-writer> |
| <pool> |
| <locator> |
| <server> |
| <disk-store> |
| <disk-dirs> |
| <disk-dir> |
| <pdx> |
| <pdx-serializer> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <region-attributes> |
| <key-constraint> |
| <value-constraint> |
| <region-time-to-live> |
| <expiration-attributes> |
| <custom-expiry> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <region-idle-time> |
| <expiration-attributes> |
| <custom-expiry> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <entry-time-to-live> |
| <expiration-attributes> |
| <custom-expiry> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <entry-idle-time> |
| <expiration-attributes> |
| <custom-expiry> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <cache-loader> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <cache-writer> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <cache-listener> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <eviction-attributes> |
| <lru-entry-count> |
| <lru-heap-percentage> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <lru-memory-size> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <jndi-bindings> |
| <jndi-binding> |
| <config-property> |
| <config-property-name> |
| <config-property-type> |
| <config-property-value> |
| <region> |
| <region-attributes> |
| <index> |
| <entry> |
| <key> |
| <string> |
| <declarable> |
| <value> |
| <string> |
| <declarable> |
| <region> |
| <function-service> |
| <function> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| <resource-manager> |
| <serialization-registration> |
| <serializer> |
| <class-name> |
| <instantiator> |
| <class-name> |
| <initializer> |
| <class-name> |
| <parameter> |
| <string> |
| <declarable> |
| </client-cache> |
| |
| ``` |