C# Class ServiceStack.Redis.RedisClient

Inheritance: IRedisClient
Mostra file Open project: ServiceStack/ServiceStack.Redis Class Usage Examples

Public Methods

Method Description
GetClient ( ) : string
GetClientsInfo ( ) : string>>.List
GetConfig ( string configItem ) : string
GetServerRoleInfo ( ) : ServiceStack.Redis.RedisText
GetServerTime ( ) : System.DateTime
KillClient ( string address ) : void
KillClients ( string fromAddress = null, string withId = null, RedisClientType ofType = null, bool skipMe = null ) : long
PauseAllClients ( System.TimeSpan duration ) : void
ResetInfoStats ( ) : void
SaveConfig ( ) : void
SetClient ( string name ) : void
SetConfig ( string configItem, string value ) : void

Method Details

GetClient() public method

public GetClient ( ) : string
return string

GetClientsInfo() public method

public GetClientsInfo ( ) : string>>.List
return string>>.List

GetConfig() public method

public GetConfig ( string configItem ) : string
configItem string
return string

GetServerRoleInfo() public method

public GetServerRoleInfo ( ) : ServiceStack.Redis.RedisText
return ServiceStack.Redis.RedisText

GetServerTime() public method

public GetServerTime ( ) : System.DateTime
return System.DateTime

KillClient() public method

public KillClient ( string address ) : void
address string
return void

KillClients() public method

public KillClients ( string fromAddress = null, string withId = null, RedisClientType ofType = null, bool skipMe = null ) : long
fromAddress string
withId string
ofType RedisClientType
skipMe bool
return long

PauseAllClients() public method

public PauseAllClients ( System.TimeSpan duration ) : void
duration System.TimeSpan
return void

ResetInfoStats() public method

public ResetInfoStats ( ) : void
return void

SaveConfig() public method

public SaveConfig ( ) : void
return void

SetClient() public method

public SetClient ( string name ) : void
name string
return void

SetConfig() public method

public SetConfig ( string configItem, string value ) : void
configItem string
value string
return void