Package | Description |
---|---|
com.lambdaworks.redis.resource |
Client resource infrastructure providers.
|
Modifier and Type | Method and Description |
---|---|
DefaultClientResources.Builder |
DefaultClientResources.Builder.commandLatencyCollector(CommandLatencyCollector commandLatencyCollector)
Sets the
CommandLatencyCollector that can that can be used across different instances of the RedisClient. |
DefaultClientResources.Builder |
DefaultClientResources.Builder.commandLatencyCollectorOptions(CommandLatencyCollectorOptions commandLatencyCollectorOptions)
Sets the
CommandLatencyCollectorOptions that can that can be used across different instances of the
RedisClient. |
DefaultClientResources.Builder |
DefaultClientResources.Builder.commandLatencyPublisherOptions(EventPublisherOptions commandLatencyPublisherOptions)
Sets the
EventPublisherOptions to publish command latency metrics using the EventBus . |
DefaultClientResources.Builder |
DefaultClientResources.Builder.computationThreadPoolSize(int computationThreadPoolSize)
Sets the thread pool size (number of threads to use) for computation operations (default value is the number of
CPUs).
|
DefaultClientResources.Builder |
DefaultClientResources.Builder.dnsResolver(DnsResolver dnsResolver)
Sets the
DnsResolver that can that can be used across different instances of the RedisClient to resolve
hostnames to InetAddress . |
DefaultClientResources.Builder |
DefaultClientResources.Builder.eventBus(EventBus eventBus)
Sets the
EventBus that can that can be used across different instances of the RedisClient. |
DefaultClientResources.Builder |
DefaultClientResources.Builder.eventExecutorGroup(EventExecutorGroup eventExecutorGroup)
Sets a shared
event executor group that can be used across different instances of the
RedisClient. |
DefaultClientResources.Builder |
DefaultClientResources.Builder.eventLoopGroupProvider(EventLoopGroupProvider eventLoopGroupProvider)
Sets a shared
event executor provider that can be used across different instances of
the RedisClient. |
DefaultClientResources.Builder |
DefaultClientResources.Builder.ioThreadPoolSize(int ioThreadPoolSize)
Sets the thread pool size (number of threads to use) for I/O operations (default value is the number of CPUs).
|
Constructor and Description |
---|
DefaultClientResources(DefaultClientResources.Builder builder) |
Copyright © 2016. All rights reserved.