Yeah thats pretty much what it is used for. If you set this option the replication interceptor will be bypassed. Everything else will function the same.
Thanks Manik. I'm glad to hear it :-)
In Invalidation mode, I want put a entry in local cache alone it should not perfrom on other caches,
How to achieve this?
I didnot find anything like "setCacheModeLocal" as mentioned above.
Where should i use option parameter "setCacheModeLocal"?
I tried setting mode as local at runtime as,
but it throws exception as follows:
Exception in thread "main" org.jboss.cache.config.ConfigurationException:
Attempted to modify a non-Dynamic configuration element [cacheMode] after the cache started!
please help me regarding this.
thanks in advance, amal raj.
Yes it working for me by using:
cache.put(fqn, key, value);
FYI: It applies to put() and remove() only.
thanks, amal raj.