C# Class RPCBase.Server.ZkAdaptor.Election

Inheritance: IWatcher
Exibir arquivo Open project: fingerpasswang/Phial

Public Methods

Method Description
AttempToBecomeLeader ( ) : void
Election ( ZooKeeper handle, string roundRoot, string round, int selfSeq ) : System
OnRoundChildrenChanged ( IEnumerable children ) : void
PathToSeq ( string path ) : int
Process ( WatchedEvent @event ) : void

Method Details

AttempToBecomeLeader() public method

public AttempToBecomeLeader ( ) : void
return void

Election() public method

public Election ( ZooKeeper handle, string roundRoot, string round, int selfSeq ) : System
handle ZooKeeper
roundRoot string
round string
selfSeq int
return System

OnRoundChildrenChanged() public method

public OnRoundChildrenChanged ( IEnumerable children ) : void
children IEnumerable
return void

PathToSeq() public static method

public static PathToSeq ( string path ) : int
path string
return int

Process() public method

public Process ( WatchedEvent @event ) : void
@event WatchedEvent
return void