You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should provide an ability to mutate ClientOptions, ClusterClientOptions, and ClientResources objects to easily enhance options and to create ClusterClientOptions from ClientOptions.
mp911de
changed the title
Add mutator methods to ClientOptions, ClusterClientOptions, and ClientResources
Improve mutators for ClientOptions, ClusterClientOptions, and ClientResources
Mar 21, 2019
We already have mutators but they return the same underlying builder. If mutations and creations happen independently from each other (e.g. create ClientOptions 1, mutate, create ClientOptions 2, mutate from ClientOptions 1, create ClientOptions 3), then ClientOptions 3 contains also mutations from ClientOptions 2.
…esources #1003
Mutators return decoupled builder instances and do not retain builder state across multiple created instances. Multiple creations do not longer affect each other.
ClientResources also now retains the shared object state across mutations if shared resources (timer, EventLoops) are not altered in the mutation builder.
…esources #1003
Mutators return decoupled builder instances and do not retain builder state across multiple created instances. Multiple creations do not longer affect each other.
ClientResources also now retains the shared object state across mutations if shared resources (timer, EventLoops) are not altered in the mutation builder.
We should provide an ability to mutate
ClientOptions
,ClusterClientOptions
, andClientResources
objects to easily enhance options and to createClusterClientOptions
fromClientOptions
.See als https://jira.spring.io/browse/DATAREDIS-949 and spring-projects/spring-boot#16271.
The text was updated successfully, but these errors were encountered: