| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE cache PUBLIC "-//GemStone Systems, Inc.//GemFire Declarative Caching 5.1//EN" "http://www.gemstone.com/dtd/cache5_1.dtd"> |
| <cache search-timeout="60" lock-lease="300"> |
| <region name="root"> |
| <region-attributes/> |
| <!-- Add one entry to the root region --> |
| <entry> |
| <key><string>Application Version</string></key> |
| <value><string>1.0</string></value> |
| </entry> |
| |
| <!-- Create a new sub region --> |
| <region name="PartitionedSubRegion"> |
| <region-attributes early-ack="false" multicast-enabled="false"> |
| <partition-attributes redundant-copies="1" local-max-memory="200" total-num-buckets="11"/> |
| <cache-loader> |
| <class-name>com.gemstone.gemfire.internal.cache.PartitionedRegionCacheLoaderForSubRegion</class-name> |
| <parameter name="URL"> |
| <string>jdbc:cloudscape:rmi:MyData</string> |
| </parameter> |
| </cache-loader> |
| </region-attributes> |
| </region> |
| </region> |
| </cache> |