public interface CommandLatencyCollectorOptions
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CommandLatencyCollectorOptions.Builder
Builder for
CommandLatencyCollectorOptions. |
| Modifier and Type | Method and Description |
|---|---|
static CommandLatencyCollectorOptions.Builder |
builder()
Returns a new
CommandLatencyCollectorOptions.Builder to construct CommandLatencyCollectorOptions. |
static CommandLatencyCollectorOptions |
create()
Create a new
CommandLatencyCollectorOptions instance using default settings. |
static CommandLatencyCollectorOptions |
disabled()
Create a
CommandLatencyCollectorOptions instance with disabled event emission. |
boolean |
isEnabled()
Returns whether the latency collector is enabled.
|
boolean |
localDistinction()
Returns whether to distinct latencies on local level.
|
CommandLatencyCollectorOptions.Builder |
mutate()
Returns a builder to create new
CommandLatencyCollectorOptions whose settings are replicated from the current
CommandLatencyCollectorOptions. |
boolean |
resetLatenciesAfterEvent()
Returns whether the latencies should be reset once an event is emitted.
|
double[] |
targetPercentiles()
Returns the percentiles which should be exposed in the metric.
|
TimeUnit |
targetUnit()
Returns the target
TimeUnit for the emitted latencies. |
static CommandLatencyCollectorOptions create()
CommandLatencyCollectorOptions instance using default settings.CommandLatencyCollectorOptions instance using default settingsstatic CommandLatencyCollectorOptions disabled()
CommandLatencyCollectorOptions instance with disabled event emission.CommandLatencyCollectorOptions with disabled event emissionstatic CommandLatencyCollectorOptions.Builder builder()
CommandLatencyCollectorOptions.Builder to construct CommandLatencyCollectorOptions.CommandLatencyCollectorOptions.Builder to construct CommandLatencyCollectorOptions.CommandLatencyCollectorOptions.Builder mutate()
CommandLatencyCollectorOptions whose settings are replicated from the current
CommandLatencyCollectorOptions.CommandLatencyCollectorOptions.Builder to create new CommandLatencyCollectorOptions whose
settings are replicated from the current CommandLatencyCollectorOptionsTimeUnit targetUnit()
TimeUnit for the emitted latencies.TimeUnit for the emitted latenciesdouble[] targetPercentiles()
boolean resetLatenciesAfterEvent()
boolean localDistinction()
boolean isEnabled()
Copyright © 2019 lettuce.io. All rights reserved.