Package org.redisson.api.listener
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.
Redisson Object Event listener for local cache invalidation event published by Redis.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onInvalidate
(K key, V value) Invoked on event of map entry invalidation
-
Method Details
-
onInvalidate
Invoked on event of map entry invalidation- Parameters:
key
- key to removevalue
- value to remove
-