Package | Description |
---|---|
io.lettuce.core.event.metrics |
Metric events and publishing.
|
io.lettuce.core.metrics |
Collectors for client metrics.
|
io.lettuce.core.resource |
Client resource infrastructure providers.
|
Constructor and Description |
---|
DefaultCommandLatencyEventPublisher(EventExecutorGroup eventExecutorGroup,
EventPublisherOptions options,
EventBus eventBus,
CommandLatencyCollector commandLatencyCollector) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCommandLatencyCollector
Default implementation of a
CommandLatencyCollector for command latencies. |
Modifier and Type | Method and Description |
---|---|
static CommandLatencyCollector |
CommandLatencyCollector.create(CommandLatencyCollectorOptions options)
Creates a new
CommandLatencyCollector using CommandLatencyCollectorOptions . |
static CommandLatencyCollector |
CommandLatencyCollector.disabled()
Returns a disabled no-op
CommandLatencyCollector . |
static CommandLatencyCollector |
DefaultCommandLatencyCollector.disabled()
Returns a disabled no-op
CommandLatencyCollector . |
Modifier and Type | Method and Description |
---|---|
CommandLatencyCollector |
ClientResources.commandLatencyCollector()
Returns the
CommandLatencyCollector . |
CommandLatencyCollector |
DefaultClientResources.commandLatencyCollector() |
Modifier and Type | Method and Description |
---|---|
ClientResources.Builder |
ClientResources.Builder.commandLatencyCollector(CommandLatencyCollector commandLatencyCollector)
Sets the
CommandLatencyCollector that can that can be used across different instances of the RedisClient. |
DefaultClientResources.Builder |
DefaultClientResources.Builder.commandLatencyCollector(CommandLatencyCollector commandLatencyCollector)
Sets the
CommandLatencyCollector that can that can be used across different instances of the RedisClient. |
Copyright © 2019 lettuce.io. All rights reserved.