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. |
boolean |
usePauseDetector()
Returns whether PauseDetector is enabled.
|
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()
true if the latencies should be reset once an event is emitted.boolean localDistinction()
true, multiple connections to the same host/connection
point will be recorded separately which allows to inspect every connection individually. If false, multiple
connections to the same host/connection point will be recorded together. This allows a consolidated view on one
particular service.true if latencies are recorded distinct on local level (per connection)boolean isEnabled()
true if the latency collector is enabledboolean usePauseDetector()
true if the PauseDetector is enabledCopyright © 2024 lettuce.io. All rights reserved.