Paul Ferraro created ISPN-4134:
----------------------------------
Summary: Make Cache.evict() a cluster-wide operation
Key: ISPN-4134
URL:
https://issues.jboss.org/browse/ISPN-4134
Project: Infinispan
Issue Type: Enhancement
Components: Eviction
Affects Versions: 6.0.2.Final
Reporter: Paul Ferraro
Assignee: Dan Berindei
Personally, I have never fully understood why Cache.evict() is a local-only operation.
If a user wants to perform a cluster-wide evict, they need to implement their own RPC
mechanism in order to perform the eviction on each node. Within WildFly, there are at
least 2 use cases for such an operation.
Why not instead make Cache.evict() a cluster-wide operation? The existing (i.e.
local-only) behavior can always achieved via:
AdvancedCache.withFlags(Flag.CACHE_MODE_LOCAL).evict(...)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira