C# Class WatcherService.WatcherManager

Datei anzeigen Open project: fingerpasswang/Phial.Fantasy Class Usage Examples

Public Methods

Method Description
NotifyInstanceSubjectiveDown ( System.Guid uuid, string addr ) : void
NotifyWatchingMaster ( System.Guid uuid, string addr ) : void
OneLoop ( ) : System.Threading.Tasks.Task
WatcherManager ( IEnumerable groups ) : System

Private Methods

Method Description
CheckAlive ( ) : void
Failover ( WatchGroup group ) : void
MasterToSlave ( MasterInstance master ) : SlaveInstance
MuxerInstanceOnConnectionRestored ( object sender, StackExchange.Redis.ConnectionFailedEventArgs connectionFailedEventArgs ) : void
NotifyOtherWatchers ( ) : System.Threading.Tasks.Task
PingAll ( ) : System.Threading.Tasks.Task
ReconfigureConnection ( List toConnect ) : void
RefreshAll ( ) : void
RefreshAllMasters ( ) : System.Threading.Tasks.Task
RefreshAllSlaves ( ) : System.Threading.Tasks.Task
SelectOneSlave ( IEnumerable slaves ) : SlaveInstance
SlaveToMaster ( SlaveInstance slave ) : MasterInstance
SyncStatesInMemory ( ) : void

Method Details

NotifyInstanceSubjectiveDown() public method

public NotifyInstanceSubjectiveDown ( System.Guid uuid, string addr ) : void
uuid System.Guid
addr string
return void

NotifyWatchingMaster() public method

public NotifyWatchingMaster ( System.Guid uuid, string addr ) : void
uuid System.Guid
addr string
return void

OneLoop() public method

public OneLoop ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

WatcherManager() public method

public WatcherManager ( IEnumerable groups ) : System
groups IEnumerable
return System