FdbClusterConnectionString

Namespace: FoundationDB.Client · class

Class that exposes the content of a FoundationDB .cluster file

Constructors

FdbClusterConnectionString

FdbClusterConnectionString(string description, string identifier, IEnumerable<FdbEndPoint> coordinators)

Cluster file with already parsed components

Properties

Coordinators

FdbEndPoint[] Coordinators { get; }

List of coordination servers

Description

string Description { get; }

Logical description of the database

Id

string Id { get; }

Cluster Identifier

Methods

Equals

bool Equals(object obj)

Check if this cluster file is equal to another object

GetHashCode

int GetHashCode()

Computes the hashcode of the cluster file

Parse

static FdbClusterConnectionString Parse(string rawValue)

Parse the content of a .cluster file

  • rawValue — First line of a .cluster file

Returns: Parsed cluster file instance

ToString

string ToString()

Returns the raw text of the cluster file