Module lettuce.core

Interface CommandLatencyCollector

All Superinterfaces:
CommandLatencyRecorder, MetricCollector<Map<CommandLatencyId,​CommandMetrics>>
All Known Implementing Classes:
DefaultCommandLatencyCollector

public interface CommandLatencyCollector
extends MetricCollector<Map<CommandLatencyId,​CommandMetrics>>, CommandLatencyRecorder
MetricCollector for command latencies. Command latencies are collected per connection (identified by local/remote tuples of SocketAddresses) and command type. Two command latencies are available:
  • Latency between command send and first response (first response received)
  • Latency between command send and command completion (complete response received)
Since:
3.4
Author:
Mark Paluch