java.lang.Object
io.lettuce.core.event.metrics.CommandLatencyEvent
- All Implemented Interfaces:
Event
public class CommandLatencyEvent extends Object implements Event
Event that transports command latency metrics. This event carries latencies for multiple commands and connections.
- Author:
- Mark Paluch
-
Constructor Summary
Constructors Constructor Description CommandLatencyEvent(Map<CommandLatencyId,CommandMetrics> latencies) -
Method Summary
Modifier and Type Method Description Map<CommandLatencyId,CommandMetrics>getLatencies()Returns the latencies mapped betweenconnection/commandand themetrics.StringtoString()
-
Constructor Details
-
CommandLatencyEvent
-
-
Method Details
-
getLatencies
Returns the latencies mapped betweenconnection/commandand themetrics.- Returns:
- the latency map.
-
toString
-