Click or drag to resize
IDseCluster Interface
Represents a DSE cluster client that contains information and known state of a DSE cluster.

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 1.0.0
Syntax
C#
public interface IDseCluster : ICluster, 
	IDisposable

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 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 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.)
Top
Properties
  NameDescription
Public propertyConfiguration
Gets the DSE cluster client configuration.
Public propertyMetadata
Gets read-only metadata on the connected cluster.

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.

(Inherited from ICluster.)
Top
Events
  NameDescription
Public eventHostAdded
Event that gets triggered when a new host is added to the cluster
(Inherited from ICluster.)
Public eventHostRemoved
Event that gets triggered when a host has been removed from the cluster
(Inherited from ICluster.)
Top
See Also

Reference