Свойство | Type | Description | |
---|---|---|---|
Cluster | System | ||
DistillProtocolVersion | byte | ||
ExecQuery | Task |
||
GetClusterInfoAsync | Task | ||
GetNodeFromDataReader | Node | ||
InDiscoveryScope | bool | ||
OnClusterChange | void | ||
OpenAsync | Task | ||
OpenAsyncInternal | Task | ||
SetupMaintenanceConnection | void |
Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Releases unmanaged and - optionally - managed resources.
|
|
ToString ( ) : string |
Returns a System.String that represents this instance.
|
Méthode | Description | |
---|---|---|
Cluster ( CqlConnectionStringBuilder config ) : System |
Initializes a new instance of the Cluster class.
|
|
DistillProtocolVersion ( string release ) : byte |
Distills the protocol version.
|
|
ExecQuery ( Connection connection, string cql, Logger logger, CancellationToken token ) : Task |
Executes a query.
|
|
GetClusterInfoAsync ( Node seed, Logger logger, CancellationToken token ) : Task |
Gets all nodes that make up the cluster
|
|
GetNodeFromDataReader ( CqlDataReader reader, Logger logger ) : Node | ||
InDiscoveryScope ( Node reference, Node target, DiscoveryScope discoveryScope ) : bool |
Checks wether a node is in the discovery scope.
|
|
OnClusterChange ( object source, ClusterChangedEvent args ) : void | ||
OpenAsync ( Logger logger, CancellationToken token ) : Task |
Opens the cluster for queries.
|
|
OpenAsyncInternal ( Logger logger, CancellationToken token ) : Task |
Opens the cluster for queries. Contains actual implementation and will be called only once per cluster
|
|
SetupMaintenanceConnection ( Logger logger ) : void |
Setups the maintenance channel.
|