Interface LocalCacheInvalidateListener<K,V>

All Superinterfaces:
EventListener, ObjectListener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LocalCacheInvalidateListener<K,V> extends ObjectListener
Redisson Object Event listener for local cache invalidation event published by Redis.
Author:
Nikita Koksharov
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onInvalidate(K key, V value)
    Invoked on event of map entry invalidation
  • Method Details

    • onInvalidate

      void onInvalidate(K key, V value)
      Invoked on event of map entry invalidation
      Parameters:
      key - key to remove
      value - value to remove