Click or drag to resize

IDseCluster Methods

The IDseCluster type exposes the following members.

Methods
  NameDescription
Public methodAllHosts
Returns all known hosts of this cluster.
(Inherited from ICluster.)
Public methodConnect
Creates a new DSE session on this cluster and initializes it.
Public methodConnect(String)
Creates a new DSE session on this cluster, initializes it and sets the keyspace to the provided one.
Public methodConnectAsync
Creates a new session on this cluster.
(Inherited from ICluster.)
Public methodConnectAsync(String)
Creates a new session on this cluster and using a keyspace an existing keyspace.
(Inherited from ICluster.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetHost
Get the host instance for a given Ip address.
(Inherited from ICluster.)
Public methodGetReplicas(Byte)
Gets a collection of replicas for a given partitionKey. Backward-compatibility only, use GetReplicas(keyspace, partitionKey) instead.
(Inherited from ICluster.)
Public methodGetReplicas(String, Byte)
Gets a collection of replicas for a given partitionKey on a given keyspace
(Inherited from ICluster.)
Public methodRefreshSchema
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.)
Public methodRefreshSchemaAsync
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.)
Public methodShutdown
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.

(Inherited from ICluster.)
Public methodShutdownAsync
Shutdown this cluster instance asynchronously. 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.

(Inherited from ICluster.)
Top
See Also