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
Inherited Members
Namespace: Cassandra
Assembly: Cassandra.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. |
AllowBetaProtocolVersions
Whether beta protocol versions will be considered by the driver during the protocol version negotiation.
Declaration
public bool AllowBetaProtocolVersions { get; }
Property Value
Type | Description |
---|---|
bool |
ApplicationName
The name of the application using the created cluster instance.
Declaration
public string ApplicationName { get; }
Property Value
Type | Description |
---|---|
string |
ApplicationNameWasGenerated
Specifies whether ApplicationName was generated by the driver.
Declaration
public bool ApplicationNameWasGenerated { get; }
Property Value
Type | Description |
---|---|
bool |
ApplicationVersion
The version of the application using the created cluster instance.
Declaration
public string ApplicationVersion { get; }
Property Value
Type | Description |
---|---|
string |
ClientOptions
The .net client additional options configuration.
Declaration
public ClientOptions ClientOptions { get; }
Property Value
Type | Description |
---|---|
ClientOptions |
ClusterId
A unique identifier for the created cluster instance.
Declaration
public Guid ClusterId { get; }
Property Value
Type | Description |
---|---|
Guid |
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 |
---|---|
IReadOnlyDictionary<string, IExecutionProfile> |
GraphOptions
Gets the options related to graph instance.
Declaration
public GraphOptions GraphOptions { get; protected set; }
Property Value
Type | Description |
---|---|
GraphOptions |
KeepContactPointsUnresolved
Declaration
public bool KeepContactPointsUnresolved { get; }
Property Value
Type | Description |
---|---|
bool |
MonitorReportingOptions
Configuration options for monitor reporting
Declaration
public MonitorReportingOptions MonitorReportingOptions { get; }
Property Value
Type | Description |
---|---|
MonitorReportingOptions |
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 |