Cassandra::DBApi::Cluster
Represents a Cassandra cluster. Stores connection parameters like host and port. A single cluster can be used to create many sessions so a custom reference counting mechanism is used to track and destroy sessions as needed.
Constructors
new(context : DB::ConnectionContext)
Initialises a cluster object with the supplied host and port from the context.
Class methods
acquire(context : DB::ConnectionContext)
SourceInstance methods
do_close
Close the connection.
Disposes the cluster when the last reference is removed. Needs to be called to prevent memory leaks.
paging_size
Source