Package io.lettuce.core.event.command
Interface CommandListener
-
- All Known Implementing Classes:
CommandListenerWriter.CommandListenerMulticaster
public interface CommandListener
A listener for Redis command events.- Since:
- 6.1
- Author:
- Mikhael Sokolov
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
commandFailed(CommandFailedEvent event)
Listener for command failure events.default void
commandStarted(CommandStartedEvent event)
Listener for command started events.default void
commandSucceeded(CommandSucceededEvent event)
Listener for command completed events.
-
-
-
Method Detail
-
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.
-
-