- connect
Creates a new session on this cluster, initialize it and sets the keyspace to
the provided one. Note
- builder
Creates a new Cluster.Builder instance. This is a convenience method for new
Cluster.Builder().
- getMetadata
Returns read-only metadata on the connected cluster. This includes the known
nodes with their status
- close
Initiates a shutdown of this cluster instance and blocks until that shutdown
completes. This method
- getConfiguration
The cluster configuration.
- isClosed
Whether this Cluster instance has been closed. Note that this method returns
true as soon as one of
- getClusterName
The name of this cluster object. Note that this is not the Cassandra cluster
name, but rather a name
- closeAsync
Initiates a shutdown of this cluster instance. This method is asynchronous and
return a future on th
- register
Registers the provided listener to be updated with schema change events.
Registering the same liste
- newSession
Creates a new session on this cluster but does not initialize it. Because this
method does not perfo
- getMetrics
The cluster metrics.
- init
Initialize this Cluster instance. This method creates an initial connection to
one of the contact po