Module lettuce.core

Interface CommandListener

All Known Implementing Classes:
CommandListenerWriter.CommandListenerMulticaster

public interface CommandListener
A listener for Redis command events.
Since:
6.1
Author:
Mikhael Sokolov
  • Method Details

    • commandStarted

      default void commandStarted​(CommandStartedEvent event)
      Listener for command started events.
      Parameters:
      event - the event.
    • commandSucceeded

      default void commandSucceeded​(CommandSucceededEvent event)
      Listener for command completed events.
      Parameters:
      event - the event.
    • commandFailed

      default void commandFailed​(CommandFailedEvent event)
      Listener for command failure events.
      Parameters:
      event - the event.