ICluster Methods |
The ICluster type exposes the following members.
Name | Description | |
---|---|---|
AllHosts |
Returns all known hosts of this cluster.
| |
Connect |
Creates a new session on this cluster.
| |
Connect(String) |
Creates a new session on this cluster and sets a keyspace to use.
| |
GetHost |
Get the host instance for a given Ip address.
| |
GetReplicas(Byte) |
Gets a collection of replicas for a given partitionKey. Backward-compatibility only, use GetReplicas(keyspace, partitionKey) instead.
| |
GetReplicas(String, Byte) |
Gets a collection of replicas for a given partitionKey on a given keyspace
| |
Shutdown |
Shutdown this cluster instance. This closes all connections from all the
sessions of this * Cluster instance and reclaim all resources
used by it. This method has no effect if the cluster was already shutdown. |