Class ThreadPoolClientResourceMutator
java.lang.Object
io.micronaut.configuration.lettuce.ThreadPoolClientResourceMutator
- All Implemented Interfaces:
ClientResourcesMutator
@Singleton
public class ThreadPoolClientResourceMutator
extends Object
implements ClientResourcesMutator
Mutates a
ClientResources.Builder
adding lettuce threadpool configs.- Since:
- 4.1
- Author:
- Rafael Acevedo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
mutate
(io.lettuce.core.resource.ClientResources.Builder builder, AbstractRedisConfiguration config) Mutates aClientResources.Builder
.
-
Constructor Details
-
ThreadPoolClientResourceMutator
public ThreadPoolClientResourceMutator()
-
-
Method Details
-
mutate
public void mutate(io.lettuce.core.resource.ClientResources.Builder builder, AbstractRedisConfiguration config) Description copied from interface:ClientResourcesMutator
Mutates aClientResources.Builder
.- Specified by:
mutate
in interfaceClientResourcesMutator
- Parameters:
builder
- the builderconfig
- the redis config
-