Package io.lettuce.core.event.metrics
Class CommandLatencyEvent
- java.lang.Object
-
- io.lettuce.core.event.metrics.CommandLatencyEvent
-
-
Constructor Summary
Constructors Constructor Description CommandLatencyEvent(Map<CommandLatencyId,CommandMetrics> latencies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<CommandLatencyId,CommandMetrics>
getLatencies()
Returns the latencies mapped betweenconnection/command
and themetrics
.String
toString()
-
-
-
Constructor Detail
-
CommandLatencyEvent
public CommandLatencyEvent(Map<CommandLatencyId,CommandMetrics> latencies)
-
-
Method Detail
-
getLatencies
public Map<CommandLatencyId,CommandMetrics> getLatencies()
Returns the latencies mapped betweenconnection/command
and themetrics
.- Returns:
- the latency map.
-
-