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:
| Modifier and Type | Method and Description |
|---|---|
static CommandLatencyCollector |
create(CommandLatencyCollectorOptions options)
Creates a new
CommandLatencyCollector using CommandLatencyCollectorOptions. |
static CommandLatencyCollector |
disabled()
Deprecated.
since 6.0, use
CommandLatencyRecorder.disabled() instead. |
retrieveMetrics, shutdownisEnabled, recordCommandLatency, recordCommandLatencystatic CommandLatencyCollector create(CommandLatencyCollectorOptions options)
CommandLatencyCollector using CommandLatencyCollectorOptions.options - must not be null.CommandLatencyCollector using CommandLatencyCollectorOptions.@Deprecated static CommandLatencyCollector disabled()
CommandLatencyRecorder.disabled() instead.CommandLatencyCollector.disabled in interface CommandLatencyRecorderCommandLatencyCollector.Copyright © 2024 lettuce.io. All rights reserved.