Interface StreamTrimListener

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 StreamTrimListener extends ObjectListener
Redisson Object Event listener for ltrim event published by Redis when trim operation is executed for Stream.

Redis notify-keyspace-events setting should contain Et letters

Author:
Nikita Koksharov
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onTrim(String name)
    Invoked when trim operation is executed for Stream
  • Method Details

    • onTrim

      void onTrim(String name)
      Invoked when trim operation is executed for Stream
      Parameters:
      name - - name of object