메소드 | 설명 | |
---|---|---|
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. |
리턴 |
public PartitionAwareConnectionStrategy ( Ring nodes, CqlConnectionStringBuilder config ) : System.Linq | ||
nodes | Ring | The nodes. |
config | CqlConnectionStringBuilder | The config. |
리턴 | System.Linq |
public ReturnConnection ( |
||
connection | The connection no longer used. | |
scope | ConnectionScope | The scope. |
리턴 | void |