Class MemStatementIteratorCache


  • public class MemStatementIteratorCache
    extends Object
    A cache for MemStatementIterator that tracks how frequently an iterator is used and caches the iterator as a list
    Author:
    HÃ¥vard M. Ottestad
    • Field Detail

      • CACHE_FREQUENCY_THRESHOLD

        public final int CACHE_FREQUENCY_THRESHOLD
    • Constructor Detail

      • MemStatementIteratorCache

        public MemStatementIteratorCache​(int cacheFrequencyThreshold)
    • Method Detail

      • invalidateCache

        public void invalidateCache()