C# Class ServiceStack.Redis.RedisPubSubServer

Inheritance: IRedisPubSubServer
Mostrar archivo Open project: ServiceStack/ServiceStack.Redis Class Usage Examples

Public Properties

Property Type Description
HeartbeatInterval TimeSpan?
HeartbeatTimeout TimeSpan

Public Methods

Method Description
Dispose ( ) : void
GetStatsDescription ( ) : string
GetStatus ( ) : string
RedisPubSubServer ( IRedisClientsManager clientsManager ) : System
Restart ( ) : void
Start ( ) : IRedisPubSubServer
Stop ( ) : void

Private Methods

Method Description
DisposeHeartbeatTimer ( ) : void
HandleFailover ( IRedisClientsManager clientsManager ) : void
HandleUnSubscribe ( string channel ) : void
Init ( ) : void
KillBgThreadIfExists ( ) : void
NotifyAllSubscribers ( string commandType = null ) : void
Pulse ( ) : void
RunLoop ( ) : void
SendControlCommand ( int operation ) : void
SendHeartbeat ( object state ) : void
SleepBackOffMultiplier ( int continuousErrorsCount ) : void
Stop ( bool shouldRestart ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetStatsDescription() public method

public GetStatsDescription ( ) : string
return string

GetStatus() public method

public GetStatus ( ) : string
return string

RedisPubSubServer() public method

public RedisPubSubServer ( IRedisClientsManager clientsManager ) : System
clientsManager IRedisClientsManager
return System

Restart() public method

public Restart ( ) : void
return void

Start() public method

public Start ( ) : IRedisPubSubServer
return IRedisPubSubServer

Stop() public method

public Stop ( ) : void
return void

Property Details

HeartbeatInterval public_oe property

public TimeSpan? HeartbeatInterval
return TimeSpan?

HeartbeatTimeout public_oe property

public TimeSpan HeartbeatTimeout
return TimeSpan