C# 클래스 WatcherService.WatcherManager

파일 보기 프로젝트 열기: fingerpasswang/Phial.Fantasy 1 사용 예제들

공개 메소드들

메소드 설명
NotifyInstanceSubjectiveDown ( System.Guid uuid, string addr ) : void
NotifyWatchingMaster ( System.Guid uuid, string addr ) : void
OneLoop ( ) : System.Threading.Tasks.Task
WatcherManager ( IEnumerable groups ) : System

비공개 메소드들

메소드 설명
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

메소드 상세

NotifyInstanceSubjectiveDown() 공개 메소드

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

NotifyWatchingMaster() 공개 메소드

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

OneLoop() 공개 메소드

public OneLoop ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

WatcherManager() 공개 메소드

public WatcherManager ( IEnumerable groups ) : System
groups IEnumerable
리턴 System