Method | Description | |
---|---|---|
BalancedConnectionStrategy ( Ring nodes, CqlConnectionStringBuilder config ) : System.Linq |
Initializes the strategy with the specified nodes and cluster configuration
|
|
GetOrCreateConnection ( ConnectionScope scope, PartitionKey partitionKey ) : |
Gets or creates connection to the cluster.
|
|
ReturnConnection ( |
Invoked when a connection is no longer in use by the application
|
public BalancedConnectionStrategy ( Ring nodes, CqlConnectionStringBuilder config ) : System.Linq | ||
nodes | Ring | The nodes. |
config | CqlConnectionStringBuilder | The config. |
return | System.Linq |
public GetOrCreateConnection ( ConnectionScope scope, PartitionKey partitionKey ) : |
||
scope | ConnectionScope | |
partitionKey | PartitionKey | |
return |
public ReturnConnection ( |
||
connection | The connection no longer used. | |
scope | ConnectionScope | |
return | void |