A session-wide component that listens for node state changes. If it is not qualified, the driver assumes that it resides in the package
com.datastax.oss.driver.internal.core.metadata
.
The driver provides a single no-op implementation out of the box: NoopNodeStateListener
. You can also specify a custom class that
implements NodeStateListener and has a public constructor with a DriverContext argument.
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any