[infinispan-issues] [JBoss JIRA] (ISPN-1616) Provide removeAll bulk operation on Cache
Mathieu Lachance (Created) (JIRA)
jira-events at lists.jboss.org
Wed Dec 14 09:18:09 EST 2011
Provide removeAll bulk operation on Cache
-----------------------------------------
Key: ISPN-1616
URL: https://issues.jboss.org/browse/ISPN-1616
Project: Infinispan
Issue Type: Feature Request
Components: Core API, RPC
Affects Versions: 5.1.0.CR1
Reporter: Mathieu Lachance
Assignee: Manik Surtani
Priority: Minor
is there any reason why api do not provide remove all operation, while there's lock(K...) putAll(Map<K,V>) operations ?
it would be great to add remove all capabilities to org.infinispan.Cache.
i guess it could also reduce the numbers of rpc calls in the following situation :
cache.getAdvancedCache().getTransactionManager().begin();
cache.lock("a", "b", "c");
cache.remove("a");
cache.remove("b");
cache.remove("c");
cache.getAdvancedCache().getTransactionManager().commit();
which could be re-implemented this way :
cache.getAdvancedCache().getTransactionManager().begin();
cache.lock("a", "b", "c");
cache.remove("a", "b", "c");
cache.getAdvancedCache().getTransactionManager().commit();
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list