Package io.lettuce.core.event.command
Class CommandSucceededEvent
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instant
getCompleted()
Duration
getDuration()
long
getDuration(TimeUnit unit)
Instant
getStarted()
-
Methods inherited from class io.lettuce.core.event.command.CommandBaseEvent
getCommand, getContext, toString
-
-