ClientStatus

Namespace: FoundationDB.Client.Status · class

Implements: MetricsBase, IJsonSerializable, IJsonPackable, IEquatable<MetricsBase>, IEquatable<ClientStatus>

Description of the current status of the local FoundationDB client

Properties

ClusterFilePath

string ClusterFilePath { get; }

Path to the '.cluster' file used by the client to connect to the cluster

ClusterFileUpToDate

bool ClusterFileUpToDate { get; }

Indicates if the content of the '.cluster' file is up to date with the current topology of the cluster

Coordinators

CoordinatorDescriptor[] Coordinators { get; }

Returns the list of coordinators known to this client

client.coordinators.coordinators[]

DatabaseAvailable

bool DatabaseAvailable { get; }

Specifies if the local client was able to connect to the cluster

client.database_status.available

DatabaseHealthy

bool DatabaseHealthy { get; }

Specifies if the database is currently healthy

client.database_status.healthy

Messages

Message[] Messages { get; }

Liste of active messages for the client

The most common client messages are listed in .

QuorumReachable

bool? QuorumReachable { get; }

Tests if a quorum of coordinators is reachable from this client

client.coordinators.quorum_reachable

SystemTime

DateTime SystemTime { get; }

Local system time on the client

client.timestamp

Timestamp

long Timestamp { get; }

Timestamp of the local client (unix time)

Number of seconds since 1970-01-01Z, using the local system clock

client.timestamp

Methods

<Clone>$

ClientStatus <Clone>$()

Equals

bool Equals(object obj)

bool Equals(MetricsBase other)

bool Equals(ClientStatus other)

GetHashCode

int GetHashCode()

ToString

string ToString()