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