C# Class WatcherService.WatcherManager

Afficher le fichier Open project: fingerpasswang/Phial.Fantasy Class Usage Examples

Méthodes publiques

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

Méthode 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 méthode

public NotifyInstanceSubjectiveDown ( System.Guid uuid, string addr ) : void
uuid System.Guid
addr string
Résultat void

NotifyWatchingMaster() public méthode

public NotifyWatchingMaster ( System.Guid uuid, string addr ) : void
uuid System.Guid
addr string
Résultat void

OneLoop() public méthode

public OneLoop ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

WatcherManager() public méthode

public WatcherManager ( IEnumerable groups ) : System
groups IEnumerable
Résultat System