geode/scripts/cache.xml (23 lines of code) (raw):

<?xml version="1.0" encoding="UTF-8"?> <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/cache-1.0.xsd" version="1.0"> <cache-server hostname-for-clients="localhost" /> <region name="persons"> <region-attributes refid="PARTITION_REDUNDANT" > <partition-attributes redundant-copies="2" /> </region-attributes> </region> <region name="animals"> <region-attributes refid="PARTITION_REDUNDANT" > <partition-attributes redundant-copies="2" /> </region-attributes> </region> <!-- This last region is only used in scala test with shapeless serializer--> <region name="complexes"> <region-attributes refid="PARTITION_REDUNDANT" > <partition-attributes redundant-copies="2" /> </region-attributes> </region> </cache>