Uses of Class
io.lettuce.core.metrics.DefaultCommandLatencyCollectorOptions.Builder
| Package | Description |
|---|---|
| io.lettuce.core.metrics |
Collectors for client metrics.
|
-
Uses of DefaultCommandLatencyCollectorOptions.Builder in io.lettuce.core.metrics
Methods in io.lettuce.core.metrics that return DefaultCommandLatencyCollectorOptions.Builder Modifier and Type Method Description static DefaultCommandLatencyCollectorOptions.BuilderDefaultCommandLatencyCollectorOptions. builder()Returns a newDefaultCommandLatencyCollectorOptions.Builderto constructDefaultCommandLatencyCollectorOptions.DefaultCommandLatencyCollectorOptions.BuilderDefaultCommandLatencyCollectorOptions.Builder. disable()Disable the latency collector.DefaultCommandLatencyCollectorOptions.BuilderDefaultCommandLatencyCollectorOptions.Builder. enable()Enable the latency collector.DefaultCommandLatencyCollectorOptions.BuilderDefaultCommandLatencyCollectorOptions.Builder. localDistinction(boolean localDistinction)Enables per connection metrics tracking insead of per host/port.DefaultCommandLatencyCollectorOptions.BuilderDefaultCommandLatencyCollectorOptions. mutate()Returns a builder to create newDefaultCommandLatencyCollectorOptionswhose settings are replicated from the currentDefaultCommandLatencyCollectorOptions.DefaultCommandLatencyCollectorOptions.BuilderDefaultCommandLatencyCollectorOptions.Builder. resetLatenciesAfterEvent(boolean resetLatenciesAfterEvent)Sets whether the recorded latencies should be reset once the metrics event was emitted.DefaultCommandLatencyCollectorOptions.BuilderDefaultCommandLatencyCollectorOptions.Builder. targetPercentiles(double[] targetPercentiles)Sets the emitted percentiles.DefaultCommandLatencyCollectorOptions.BuilderDefaultCommandLatencyCollectorOptions.Builder. targetUnit(TimeUnit targetUnit)Set the target unit for the latencies.Constructors in io.lettuce.core.metrics with parameters of type DefaultCommandLatencyCollectorOptions.Builder Constructor Description DefaultCommandLatencyCollectorOptions(DefaultCommandLatencyCollectorOptions.Builder builder)