C# Класс Enyim.Caching.Memcached.ServerStats

Represents the statistics of a Memcached node.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
All System.Net.IPEndPoint

Открытые методы

Метод Описание
GetRaw ( string key ) : string>>.IEnumerable
GetRaw ( IPEndPoint server, StatItem item ) : string

Returns the stat value for a specific server. The value is not converted but returned as the server returned it.

GetRaw ( IPEndPoint server, string key ) : string

Returns the stat value for a specific server. The value is not converted but returned as the server returned it.

GetUptime ( IPEndPoint server ) : System.TimeSpan

Returns the uptime of the specific server.

GetValue ( IPEndPoint server, StatItem item ) : long

Gets a stat value for the specified server.

GetVersion ( IPEndPoint server ) : System.Version

Returns the server of memcached running on the specified server.

Приватные методы

Метод Описание
ServerStats ( string>.Dictionary results ) : System

Описание методов

GetRaw() публичный Метод

public GetRaw ( string key ) : string>>.IEnumerable
key string
Результат string>>.IEnumerable

GetRaw() публичный Метод

Returns the stat value for a specific server. The value is not converted but returned as the server returned it.
public GetRaw ( IPEndPoint server, StatItem item ) : string
server System.Net.IPEndPoint The adress of the server
item StatItem The stat value to be returned
Результат string

GetRaw() публичный Метод

Returns the stat value for a specific server. The value is not converted but returned as the server returned it.
public GetRaw ( IPEndPoint server, string key ) : string
server System.Net.IPEndPoint The adress of the server
key string The name of the stat value
Результат string

GetUptime() публичный Метод

Returns the uptime of the specific server.
public GetUptime ( IPEndPoint server ) : System.TimeSpan
server System.Net.IPEndPoint The adress of the server
Результат System.TimeSpan

GetValue() публичный Метод

Gets a stat value for the specified server.
public GetValue ( IPEndPoint server, StatItem item ) : long
server System.Net.IPEndPoint The adress of the server. If is specified it will return the sum of all server stat values.
item StatItem The stat to be returned
Результат long

GetVersion() публичный Метод

Returns the server of memcached running on the specified server.
public GetVersion ( IPEndPoint server ) : System.Version
server System.Net.IPEndPoint The adress of the server
Результат System.Version

Описание свойств

All публичное статическое свойство

Defines a value which indicates that the statstics should be retrieved for all servers in the sockIOPool.
public static IPEndPoint,System.Net All
Результат System.Net.IPEndPoint