Skip to content

Class CassandraDataOptions

Namespace: Cephalon.Data.Cassandra.Configuration
Assembly: Cephalon.Data.Cassandra.dll

Options controlling how Cephalon.Data.Cassandra connects to a Cassandra cluster and registers data services.

public sealed class CassandraDataOptions

object ← CassandraDataOptions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

The provider identifier used in capability and descriptor metadata.

public const string ProviderId = "cassandra"

string

One or more Cassandra contact-point host addresses, separated by commas (e.g. “localhost” or “node1,node2,node3”).

public string ContactPoints { get; set; }

string

The Cassandra keyspace to connect to (created if not exists on first operation).

public string Keyspace { get; set; }

string

Gets or sets the number of deterministic shards used by the pending-dispatch eligibility table. Defaults to 16 and applies only when is enabled.

public int PendingDispatchShardCount { get; set; }

int

The Cassandra native transport port. Defaults to 9042.

public int Port { get; set; }

int

When true, registers backed by a Cassandra wide-column table.

public bool RegisterInbox { get; set; }

bool

When true, registers backed by a Cassandra wide-column table.

public bool RegisterOutbox { get; set; }

bool

Optional prefix applied to all managed table names (e.g. “cephalon_”).

public string TablePrefix { get; set; }

string