Click or drag to resize

PoolingOptionsCreate Method

Creates a new instance of PoolingOptions using the default amount of connections and settings based on the protocol version.

For modern server versions (Apache Cassandra 2.1+) the amount of core connections are set to 1, setting 2 for max local connections.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.6.0
Syntax
C#
public static PoolingOptions Create(
	ProtocolVersion protocolVersion = ProtocolVersion.DseV2
)

Parameters

protocolVersion (Optional)
Type: DseProtocolVersion

Return Value

Type: PoolingOptions
A new instance of PoolingOptions
See Also