Quantcast
Viewing all articles
Browse latest Browse all 233224

Re: does gemfire multi-site gateway-hub support clear operation?

Yao,

 

You can set up a command region that is gateway enabled. Then use that region to propagate commands (like region clear) between sites. You can use a CacheWriter to actually process the command.

 

I'm not sure your exact setup, but the command region should be an empty replicate defined in all nodes and have subcription-attributes interest-policy="all" in the gateway nodes like:

 

<region name="command">  <region-attributes data-policy="empty" scope="distributed-ack" enable-gateway="true">    <subscription-attributes interest-policy="all"/>    <cache-writer>      <class-name>CommandProcessorCacheWriter</class-name>    </cache-writer>  </region-attributes>   </region>

 

I probably have an example of this somewhere that I can post.

 

Barry


Viewing all articles
Browse latest Browse all 233224

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>