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.
|
![]() | ConnectAsync |
Creates a new session on this cluster.
(Inherited from ICluster.) |
![]() | ConnectAsync(String) |
Creates a new session on this cluster and using a keyspace an existing keyspace.
(Inherited from ICluster.) |
![]() | 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.) |
![]() | RefreshSchema |
Updates keyspace metadata (including token metadata for token aware routing) for a given keyspace or a specific keyspace table.
If no keyspace is provided then this method will update the metadata and token map for all the keyspaces of the cluster.
(Inherited from ICluster.) |
![]() | RefreshSchemaAsync |
Updates keyspace metadata (including token metadata for token aware routing) for a given keyspace or a specific keyspace table.
If no keyspace is provided then this method will update the metadata and token map for all the keyspaces of the cluster.
(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. |
![]() | ShutdownAsync |
Shutdown this cluster instance asynchronously. 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.) |