pull/4944/head
Nikita Koksharov 2 years ago
parent 8929e9db23
commit 60b4426346

@ -50,17 +50,17 @@ public class CommandsLoadBalancer extends RoundRobinLoadBalancer implements Load
/** /**
* Defines Redis node address where the commands are redirected to * Defines Redis node address where the commands are redirected to
* *
* @param address * @param address Redis node address
*/ */
public void setAddress(String address) { public void setAddress(String address) {
this.address = new RedisURI(address); this.address = new RedisURI(address);
} }
/** /**
* Defines commands which redirects to the Redis node * Defines command names which are redirected to the Redis node
* specified by {@link #setAddress(String)} * specified by {@link #setAddress(String)}
* *
* @param commands * @param commands commands list
*/ */
public void setCommands(List<String> commands) { public void setCommands(List<String> commands) {
this.commands = commands.stream() this.commands = commands.stream()

Loading…
Cancel
Save