Hello,
I'd like to manually evict an item from the in-memory cache but not from the JDBC
cache loader. This method seems to be what I'm looking for:
cache.evict(Fqn)
I can call this method fine but when I then attempt to retrieve the node (expecting it to
be loaded from the database after eviction), I get this error:
org.jboss.cache.NodeNotValidException: Node /my/evicted/node is not valid. Perhaps it has
been moved or removed.
|
I just want to refresh this node from the database (invalidate the in-memory node and have
it reload from the cache loader). Is evict() the right method for this? Does the
passivation setting affect this?
Thanks!
Dustin
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270122#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...