PoolingOptionsSetCoreConnectionsPerHost Method |
Sets the core number of connections per host.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax public PoolingOptions SetCoreConnectionsPerHost(
HostDistance distance,
int coreConnections
)
Parameters
- distance
- Type: CassandraHostDistance
the HostDistance for which to set this threshold. - coreConnections
- Type: SystemInt32
the value to set
Return Value
Type:
PoolingOptionsthis
PoolingOptions.
See Also