Norbert, the nature of eviction that is local mode only is documented in the FAQ 
html!! RTFM. :-) 

E.g.,:

Q: Does JBossCache's implemented LRU eviction policy operates in replication mode?
 
A: Yes and no. :-)

The LRU policy only operates in local mode. That is, nodes that are only evicted 
locally. This may cause the cache contents not to be synchronized temporarily. But 
when a user tries to obtain a cache content of an evicted node and finds out that is 
null (e.g., get returns null), it should get it from other data source and re-populate 
the data in the cache. During this moment, the node content will be propagated and the 
cache content will be in sync.

However, you still can run eviction policy with cache mode set to either REPL_SYNC or 
REPL_ASYNC. Depends on your use case, you can set multiple cache instances to have 
their own eviction policy (of which is operated locally) or just have selected 
instance with eviction policy activated.

Also note that, when the cache persistence layer is implemented in the next release, 
an locally evicted node can also be persisted to the backend store.
 
Currently there is no good way to verify the replication traffic. But you can turn on 
the "debug" level and search for _put(..) on the "backup" node.

-Ben


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850155#3850155

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850155


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to