private Stream<javax.cache.Cache.Entry<K, V>> toStream(Iterator<javax.cache.Cache.Entry<K, V>> iterator) {
            return StreamSupport.stream(Spliterators.spliteratorUnknownSize(iterator, Spliterator.ORDERED), false);
        }
Removes all elements in the cache, but leaves the cache in a useable state.
support/jcache/src/main/java/org/apache/shiro/cache/jcache/JCacheManager.java