Table of Contents

Class ConnectionCounters

Namespace
StackExchange.Redis
Assembly
StackExchange.Redis.StrongName.dll

Illustrates the counters associated with an individual connection

public class ConnectionCounters
Inheritance
ConnectionCounters
Inherited Members

Properties

CompletedAsynchronously

The number of operations that have been completed asynchronously

public long CompletedAsynchronously { get; }

Property Value

long

CompletedSynchronously

The number of operations that have been completed synchronously

public long CompletedSynchronously { get; }

Property Value

long

ConnectionType

The type of this connection

public ConnectionType ConnectionType { get; }

Property Value

ConnectionType

FailedAsynchronously

The number of operations that failed to complete asynchronously

public long FailedAsynchronously { get; }

Property Value

long

IsEmpty

Indicates if there are any pending items or failures on this connection

public bool IsEmpty { get; }

Property Value

bool

NonPreferredEndpointCount

Indicates the total number of messages despatched to a non-preferred endpoint, for example sent to a master when the caller stated a preference of slave

public long NonPreferredEndpointCount { get; }

Property Value

long

OperationCount

The number of operations performed on this connection

public long OperationCount { get; }

Property Value

long

PendingUnsentItems

Operations that have been requested, but which have not yet been sent to the server

public int PendingUnsentItems { get; }

Property Value

int

ResponsesAwaitingAsyncCompletion

Operations for which the response has been processed, but which are awaiting asynchronous completion

public int ResponsesAwaitingAsyncCompletion { get; }

Property Value

int

SentItemsAwaitingResponse

Operations that have been sent to the server, but which are awaiting a response

public int SentItemsAwaitingResponse { get; }

Property Value

int

SocketCount

The number of sockets used by this logical connection (total, including reconnects)

public long SocketCount { get; }

Property Value

long

Subscriptions

The number of subscriptions (with and without patterns) currently held against this connection

public long Subscriptions { get; }

Property Value

long

TotalOutstanding

Indicates the total number of outstanding items against this connection

public int TotalOutstanding { get; }

Property Value

int

WriterCount

Indicates the total number of writers items against this connection

public int WriterCount { get; }

Property Value

int

Methods

ToString()

See Object.ToString()

public override string ToString()

Returns

string