Interface SetRemoveRandomListener

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 SetRemoveRandomListener extends ObjectListener
Redisson Object Event listener for spop event published by Redis.

Redis notify-keyspace-events setting should contain Es letters

Author:
Nikita Koksharov
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when value randomly removed from RSet object
  • Method Details

    • onRandomRemove

      void onRandomRemove(String name)
      Invoked when value randomly removed from RSet object
      Parameters:
      name - object name