java.lang.Object
io.lettuce.core.event.command.CommandBaseEvent
io.lettuce.core.event.command.CommandSucceededEvent
public class CommandSucceededEvent extends CommandBaseEvent
Event for succeeded command.
- Since:
- 6.1
- Author:
- Mikhael Sokolov
-
Constructor Summary
Constructors Constructor Description CommandSucceededEvent(RedisCommand<Object,Object,Object> command, Map<String,Object> context, long started, long completed) -
Method Summary
Modifier and Type Method Description InstantgetCompleted()DurationgetDuration()longgetDuration(TimeUnit unit)InstantgetStarted()Methods inherited from class io.lettuce.core.event.command.CommandBaseEvent
getCommand, getContext, toString
-
Constructor Details
-
CommandSucceededEvent
-
-
Method Details