FdbConnectionOptions
Namespace: FoundationDB.Client · class
Implements: IEquatable<FdbConnectionOptions>
Settings used when establishing the connection with a FoundationDB cluster
Constructors
FdbConnectionOptions
FdbConnectionOptions()
Properties
ClusterFile
string ClusterFile { get; set; }
Full path to a specific 'fdb.cluster' file
This should be a valid path, accessible with read and write permissions by the process.
This property and ConnectionString are mutually exclusive.
ConnectionString
string ConnectionString { get; set; }
Connection string to the cluster
The format of this string is the same as the content of a .cluster file.
This property and ClusterFile are mutually exclusive.
DataCenterId
string DataCenterId { get; set; }
If set, specify the datacenter ID that was passed to fdbserver processes running in the same datacenter as this client, for better location-aware load balancing.
DefaultMaxRetryDelay
int DefaultMaxRetryDelay { get; set; }
Default maximum retry delay for all transactions (or infinite if 0)
DefaultRetryLimit
int DefaultRetryLimit { get; set; }
Default maximum number of retries for all transactions (or infinite if 0)
DefaultTimeout
TimeSpan DefaultTimeout { get; set; }
Default timeout for all transactions, in milliseconds precision (or infinite if 0)
DefaultTracing
FdbTracingOptions DefaultTracing { get; set; }
Default Tracing options for all transactions
by default
MachineId
string MachineId { get; set; }
If set, specify the machine ID that was passed to fdbserver processes running on the same machine as this client, for better location-aware load balancing.
ReadOnly
bool ReadOnly { get; set; }
If true, opens a read-only view of the database
If set to , only read-only transactions will be allowed on the database instance
Root
FdbPath? Root { get; set; }
Default root location used by the database (empty prefix by default)
If specified, all started transactions will be automatically rooted to this location.
Methods
<Clone>$
FdbConnectionOptions <Clone>$()
Equals
bool Equals(object obj)
bool Equals(FdbConnectionOptions other)
GetHashCode
int GetHashCode()
ToString
string ToString()