[infinispan-issues] [JBoss JIRA] (ISPN-5804) Cache collections iterator doesn't support remove with a cache loader

William Burns (JIRA) issues at jboss.org
Thu Oct 1 09:17:00 EDT 2015


William Burns created ISPN-5804:
-----------------------------------

             Summary: Cache collections iterator doesn't support remove with a cache loader
                 Key: ISPN-5804
                 URL: https://issues.jboss.org/browse/ISPN-5804
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 8.0.1.Final
            Reporter: William Burns
            Assignee: William Burns


The iterator retrieved from the various collection of a Cache (entrySet, keySet, values) do not work properly when a cache loader interceptor.  This is caused by using a CloseableIterator retrieved from the stream of the cache.

{code}
CloseableIterator<CacheEntry<K, V>> iterator = Closeables.iterator(entrySet.stream());
{code}

We should wrap super iterator like MarshalledValueInterceptor does.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list