C# Class Enyim.Caching.Memcached.ServerStats

Represents the statistics of a Memcached node.
Afficher le fichier Open project: xianrendzw/LightFramework.Net Class Usage Examples

Méthodes publiques

Свойство Type Description
All System.Net.IPEndPoint

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ServerStats ( string>.Dictionary results ) : System

Method Details

GetRaw() public méthode

public GetRaw ( string key ) : string>>.IEnumerable
key string
Résultat string>>.IEnumerable

GetRaw() public méthode

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
Résultat string

GetRaw() public méthode

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
Résultat string

GetUptime() public méthode

Returns the uptime of the specific server.
public GetUptime ( IPEndPoint server ) : System.TimeSpan
server System.Net.IPEndPoint The adress of the server
Résultat System.TimeSpan

GetValue() public méthode

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
Résultat long

GetVersion() public méthode

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
Résultat System.Version

Property Details

All public_oe static_oe property

Defines a value which indicates that the statstics should be retrieved for all servers in the sockIOPool.
public static IPEndPoint,System.Net All
Résultat System.Net.IPEndPoint