IDseCluster Interface |
Namespace: Dse
public interface IDseCluster : ICluster, IDisposable
The IDseCluster type exposes the following members.
Name | Description | |
---|---|---|
Configuration |
Gets the DSE cluster client configuration.
| |
Metadata |
Gets read-only metadata on the connected cluster.
(Inherited from ICluster.)This includes the know nodes (with their status as seen by the driver) as well as the schema definitions. This method may trigger the creation of a connection if none has been established yet. |
Name | Description | |
---|---|---|
AllHosts |
Returns all known hosts of this cluster.
(Inherited from ICluster.) | |
Connect |
Creates a new DSE session on this cluster and initializes it.
| |
Connect(String) |
Creates a new DSE session on this cluster, initializes it and sets the keyspace to the provided one.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GetHost |
Get the host instance for a given Ip address.
(Inherited from ICluster.) | |
GetReplicas(Byte) |
Gets a collection of replicas for a given partitionKey. Backward-compatibility only, use GetReplicas(keyspace, partitionKey) instead.
(Inherited from ICluster.) | |
GetReplicas(String, Byte) |
Gets a collection of replicas for a given partitionKey on a given keyspace
(Inherited from ICluster.) | |
Shutdown |
Shutdown this cluster instance. This closes all connections from all the
sessions of this * Cluster instance and reclaim all resources
used by it. (Inherited from ICluster.)This method has no effect if the cluster was already shutdown. |
Name | Description | |
---|---|---|
HostAdded |
Event that gets triggered when a new host is added to the cluster
(Inherited from ICluster.) | |
HostRemoved |
Event that gets triggered when a host has been removed from the cluster
(Inherited from ICluster.) |