Registering the same listener multiple times is a no-op.
Note that while {@link LoadBalancingPolicy} implements{@code Host.StateListener}, the configured load balancing does not need to (and should not) be registered through this method to received host related events. @param listener the new {@link Host.StateListener} to register. @return this {@code Cluster} object;
|
|
|
|