Class Configuration
The configuration of the cluster. It configures the following:
- Cassandra binary protocol level configuration (compression).
- Connection pooling configurations.
- low-level tcp configuration options (tcpNoDelay, keepAlive, ...).
Inheritance
System.Object
Configuration
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dse
Assembly: Dse.dll
Syntax
public class Configuration
Properties
AddressTranslator
The address translator used to translate Cassandra node address.
Declaration
public IAddressTranslator AddressTranslator { get; }
Property Value
Type | Description |
---|---|
IAddressTranslator | the address translator in use. |
ClientOptions
The .net client additional options configuration.
Declaration
public ClientOptions ClientOptions { get; }
Property Value
Type | Description |
---|---|
ClientOptions |
ExecutionProfiles
Gets a read only key value map of execution profiles that were configured with WithExecutionProfiles(Action<IExecutionProfileOptions>). The keys are execution profile names and the values are IExecutionProfile instances.
Declaration
public IReadOnlyDictionary<string, IExecutionProfile> ExecutionProfiles { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyDictionary<System.String, IExecutionProfile> |
Policies
Gets the policies set for the cluster.
Declaration
public Policies Policies { get; }
Property Value
Type | Description |
---|---|
Policies |
PoolingOptions
The connection pooling configuration, defaults to null.
Declaration
public PoolingOptions PoolingOptions { get; }
Property Value
Type | Description |
---|---|
PoolingOptions | the pooling options. |
ProtocolOptions
The Cassandra binary protocol level configuration (compression).
Declaration
public ProtocolOptions ProtocolOptions { get; }
Property Value
Type | Description |
---|---|
ProtocolOptions | the protocol options. |
QueryOptions
The query configuration.
Declaration
public QueryOptions QueryOptions { get; }
Property Value
Type | Description |
---|---|
QueryOptions |
SocketOptions
Gets the low-level tcp configuration options used (tcpNoDelay, keepAlive, ...).
Declaration
public SocketOptions SocketOptions { get; }
Property Value
Type | Description |
---|---|
SocketOptions |