abstract class Cassandra::Listener
Cassandra state listener.
- Abstract
- Actual state listener implementations don’t need to inherit from this class as long as they conform to its interface. This class exists solely for documentation purposes
Inherits
Object
Methods
This method is called whenever a host is considered to be up, whether by Cassandra’s gossip exchange or when the driver has successfully established a connection to it.
- Void
- Return value of this method is ignored.
This method is called whenever a host is considered to be down, whether by Cassandra’s gossip exchange or when the driver failed to establish any connections to it.
- Void
- Return value of this method is ignored.
This method is called whenever a host is discovered by the driver,
whether because it is a completely new node or if its
Host#datacenter
or Host#rack
have changed.
- Void
- Return value of this method is ignored.
This method is called whenever a host leaves the cluster, whether
because it is completely gone or if its Host#datacenter
or
Host#rack
have changed.
- Void
- Return value of this method is ignored.
This method is called whenever a new keyspace is created.
- Void
- Return value of this method is ignored.
This method is called whenever an existing keyspace is changed. This happens when a new table is created or an existing table is dropped or altered.
- Void
- Return value of this method is ignored.
This method is called whenever an existing keyspace is dropped.
- Void
- Return value of this method is ignored.