Interface JedisClientBuilderCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface for customizing
ClientBuilder. Objects implementing this interface
will be invoked with any ClientBuilder so you can customize the client builder after Spring has applied its defaults
when using RedisClient and RedisClusterClient etc. The builder is not applied using
Jedis and JedisCluster.
AbstractClientBuilder is a generic builder that can be used to build any kind of client. Depending on the
intended client to be built, implementations may check the builder type and cast it accordingly for further
customization.
- Since:
- 4.1
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(redis.clients.jedis.builders.AbstractClientBuilder<?, ?> builder) Customize theAbstractClientBuilder.
-
Method Details
-
customize
void customize(redis.clients.jedis.builders.AbstractClientBuilder<?, ?> builder) Customize theAbstractClientBuilder.- Parameters:
builder- the builder to customize.
-