Class DebugCacheStatistics.CacheEntryIterator<U>
java.lang.Object
com.foreach.across.modules.debugweb.events.DebugCacheStatistics.CacheEntryIterator<U>
- All Implemented Interfaces:
Iterator<DebugCacheStatistics.CacheEntry>
- Enclosing class:
- DebugCacheStatistics<T extends org.springframework.cache.Cache>
public static class DebugCacheStatistics.CacheEntryIterator<U>
extends Object
implements Iterator<DebugCacheStatistics.CacheEntry>
Helper which takes an original entry iterator and transforms it
into a
DebugCacheStatistics.CacheEntry
when the entry is requested.-
Constructor Summary
ConstructorDescriptionCacheEntryIterator
(@NonNull Iterator<U> iterator, @NonNull Function<U, DebugCacheStatistics.CacheEntry> transform) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
CacheEntryIterator
public CacheEntryIterator(@NonNull @NonNull Iterator<U> iterator, @NonNull @NonNull Function<U, DebugCacheStatistics.CacheEntry> transform)
-
-
Method Details