wanActiveActive.eu-server.cache.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <!DOCTYPE cache PUBLIC "-//GemStone Systems, Inc.//GemFire Declarative Caching 7.0//EN" "http://www.gemstone.com/dtd/cache7_0.dtd"> <cache> <gateway-sender id="EU" remote-distributed-system-id="2" parallel = "false" maximum-queue-memory="50" batch-size="10" batch-time-interval="1000" manual-start="false"/> <gateway-receiver/> <!-- Configure the conflict resolution plugin. The resolution-type parameter may be use-latest, merge, or highest-int --> <gateway-conflict-resolver> <class-name>wanActiveActive.WANConflictResolver</class-name> <parameter name="resolution-type"> <string>use-latest</string> </parameter> <parameter name="site"> <string>EU</string> </parameter> </gateway-conflict-resolver> <cache-server port="44444"/> <pdx read-serialized="true"/> <!-- servers will see PDXInstances instead of deserialized values --> <region name="wanActiveActive" refid="REPLICATE"> <region-attributes enable-gateway="true" gateway-sender-ids="EU" concurrency-checks-enabled="true"/> </region> </cache>