[
https://issues.jboss.org/browse/WFLY-738?page=com.atlassian.jira.plugin.s...
]
Paul Ferraro closed WFLY-738.
-----------------------------
Resolution: Won't Do
I'm rejecting this for a couple reasons:
# Such an operation is only generally safe for an invalidation cache.
# Such an operation would need RBAC.
# Clear is not an atomic operation in Infinispan, so this is an unsafe operation to begin
with.
# The primary invalidation cache use case in WildFly is Hibernate's RegionFactory,
which already has a clear operation.
Add clear cache operation on cache container and cache (accessible
via admin console)
-------------------------------------------------------------------------------------
Key: WFLY-738
URL:
https://issues.jboss.org/browse/WFLY-738
Project: WildFly
Issue Type: Feature Request
Components: Clustering
Reporter: Guillaume Grossetie
Assignee: Paul Ferraro
Fix For: Awaiting Volunteers
Add operation on infinispan subsystem to clear cache at cache container level (ie. clear
all caches for the container) and at cache level.
The implementation of the clear operation just calls the method #clear() on the
org.infinispan.Cache interface. If needed we can clear the associated CacheStore (make it
optional ?) and handle more complex cases.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)