I've one question about Option parameter in "put" method. I am using option "setCacheModeLocal" when I need to make put only to local member of cluster. (I dont want to invalidate the same entries in other members.) Is this option intended for such purposes? How does affect listeners and eviction policy? I tried to dig in source code, but I was not able to find place, when Option makes it's work.
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.