Package io.rtr.alchemy.caching
Class CacheStrategyIterable
java.lang.Object
io.rtr.alchemy.caching.CacheStrategyIterable
- All Implemented Interfaces:
Iterable<Experiment>
Implements a wrapper around iterable of Experiment in order to trigger the cache strategy as
results are retrieved
-
Constructor Summary
ConstructorsConstructorDescriptionCacheStrategyIterable(Iterable<Experiment> iterable, CachingContext context, CacheStrategy strategy) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CacheStrategyIterable
public CacheStrategyIterable(Iterable<Experiment> iterable, CachingContext context, CacheStrategy strategy)
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceIterable<Experiment>
-