DseCluster Methods |
The DseCluster type exposes the following members.
Name | Description | |
---|---|---|
AllHosts |
Returns all known hosts of this cluster.
| |
AnyOpenConnections | ||
Builder |
Creates a new DseClusterBuilder instance.
| |
Connect |
Creates a new IDseSession for this cluster.
| |
Connect(String) |
Creates a new IDseSession for this cluster to a specific keyspaces.
| |
ConnectAsync |
Asynchronously creates a new session on this cluster.
| |
ConnectAsync(String) |
Asynchronously creates a new session on this cluster and using a keyspace an existing keyspace.
| |
Dispose |
Calls Shutdown(Int32) with an infinite timeout.
| |
GetHost |
Get a host instance for a given endpoint.
| |
GetReplicas |
Gets a collection of replicas for a given partitionKey on a given keyspace.
| |
GetResolvedEndpoints | ||
OnInitializeAsync | ||
OnShutdownAsync | ||
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.
| |
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.
| |
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. | |
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. This method has no effect if the cluster was already shutdown. |