| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| 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. |
| --> |
| |
| |
| <!-- Well-formed and valid xml file --> |
| <client-cache |
| xmlns="http://geode.apache.org/schema/cache" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://geode.apache.org/schema/cache |
| http://geode.apache.org/schema/cache/cpp-cache-1.0.xsd" |
| version="9.0"> |
| |
| <root-region name = "Root1" > |
| <region-attributes id="root1" scope="local" caching-enabled="true" initial-capacity="25" load-factor="0.32" concurrency-level="10" lru-entries-limit = "35"> |
| <region-idle-time> |
| <expiration-attributes timeout="20" action="destroy"/> |
| </region-idle-time> |
| <entry-idle-time> |
| <expiration-attributes timeout="10" action="invalidate"/> |
| </entry-idle-time> |
| <region-time-to-live> |
| <expiration-attributes timeout="0" action="local-destroy"/> |
| </region-time-to-live> |
| <entry-time-to-live> |
| <expiration-attributes timeout="0" action="local-invalidate"/> |
| </entry-time-to-live> |
| </region-attributes> |
| |
| |
| <region name="SubRegion1"> |
| <region-attributes id="sub1" scope="local" caching-enabled="true" initial-capacity="23" load-factor=".89" concurrency-level="52"> |
| </region-attributes> |
| |
| <region name="SubRegion11" refid="sub1"> |
| <region-attributes id="sub11" initial-capacity="10" /> |
| </region> |
| </region> |
| |
| <region name="SubRegion2" refid="sub11"> |
| </region> |
| |
| </root-region> |
| |
| |
| <root-region name= "Root2" refid="root1"> |
| <region-attributes concurrency-level="16" > |
| <region-time-to-live> |
| <expiration-attributes timeout="0" action="destroy"/> |
| </region-time-to-live> |
| <region-idle-time> |
| <expiration-attributes timeout="0" action="invalidate"/> |
| </region-idle-time> |
| </region-attributes> |
| |
| <region name="SubRegion21" refid="sub1"> |
| <region-attributes refid="sub11"> |
| <region-idle-time> |
| <expiration-attributes timeout="20" action="destroy"/> |
| </region-idle-time> |
| <entry-idle-time> |
| <expiration-attributes timeout="10" action="invalidate"/> |
| </entry-idle-time> |
| </region-attributes> |
| </region> |
| </root-region> |
| |
| </client-cache> |