C# 클래스 Enyim.Caching.Memcached.ServerStats

Represents the statistics of a Memcached node.
파일 보기 프로젝트 열기: xianrendzw/LightFramework.Net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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