[jboss-user] [JBoss Cache] - how recover an object after evict (Distributed mode)
Bertrand GUIRAL
do-not-reply at jboss.com
Wed Sep 21 11:01:22 EDT 2011
Bertrand GUIRAL [http://community.jboss.org/people/bertrand.guiral] created the discussion
"how recover an object after evict (Distributed mode)"
To view the discussion, visit: http://community.jboss.org/message/627819#627819
--------------------------------------------------------------
String myKey = "myKey";
cache.put(myKey, "value for test" );
cache.evict(myKey);
Object myObjectRecovered = cache.get(myKey);
In this case , myObjectRecovered is null .
It is inside other cache, but i cannot get it from where it has been evicted.
It is not the behaviour expected :
evict :
" Evicts an entry from the memory of the cache. Note that the entry is not removed from any configured cache"
It is right. But how recover it from the cache where the object has been evicted ?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/627819#627819]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110921/bd226ade/attachment.html
More information about the jboss-user
mailing list