Class and Description |
---|
com.datastax.driver.core.Host.HealthMonitor
See
Host.getMonitor() . |
Method and Description |
---|
com.datastax.driver.core.Host.getMonitor()
you are encouraged not to use the HealthMonitor anymore. To test
if a node is considered UP or not, you should use
Host.isUp instead. To
register a Host.StateListener , you should do so at the Cluster level
through Cluster.register(com.datastax.driver.core.Host.StateListener) (registering against the HealtMonitor does
not work as intented: listeners will only be informed of onUp and onDown
events (not onAdd and onRemove) and you need to manually register against
every host. Cluster.register(com.datastax.driver.core.Host.StateListener) solves this). |
com.datastax.driver.core.Host.HealthMonitor.isUp()
See
Host.getMonitor() . Replaced by Host.isUp . |
com.datastax.driver.core.Cluster.Builder.poolingOptions()
you are now encouraged to use the
Cluster.Builder.withPoolingOptions(com.datastax.driver.core.PoolingOptions)
method. This method is deprecated and will be removed in the next major
version of the driver. |
com.datastax.driver.core.Host.HealthMonitor.register(Host.StateListener) |
com.datastax.driver.core.Cluster.Builder.socketOptions()
you are now encouraged to use the
Cluster.Builder.withPoolingOptions(com.datastax.driver.core.PoolingOptions)
method. This method is deprecated and will be removed in the next major
version of the driver. |
com.datastax.driver.core.Host.HealthMonitor.unregister(Host.StateListener) |
Copyright © 2014. All Rights Reserved.