- All Known Implementing Classes:
CommandListenerWriter.CommandListenerMulticaster
public interface CommandListener
A listener for Redis command events.
- Since:
- 6.1
- Author:
- Mikhael Sokolov
-
Method Summary
Modifier and Type Method Description default voidcommandFailed(CommandFailedEvent event)Listener for command failure events.default voidcommandStarted(CommandStartedEvent event)Listener for command started events.default voidcommandSucceeded(CommandSucceededEvent event)Listener for command completed events.
-
Method Details
-
commandStarted
Listener for command started events.- Parameters:
event- the event.
-
commandSucceeded
Listener for command completed events.- Parameters:
event- the event.
-
commandFailed
Listener for command failure events.- Parameters:
event- the event.
-