Interface CacheFlushListener<K,​V>

  • Type Parameters:
    K -
    V -

    public interface CacheFlushListener<K,​V>
    Listen to cache flush events
    • Method Detail

      • apply

        void apply​(K key,
                   V newValue,
                   V oldValue)
        Called when records are flushed from the ThreadCache
        Parameters:
        key - key of the entry
        newValue - current value
        oldValue - previous value