public abstract class LeaderElection extends Object
| 构造器和说明 |
|---|
LeaderElection() |
public void executeContention(String nodeBeContend, IProvider provider) throws org.apache.zookeeper.KeeperException, InterruptedException
nodeBeContend - node be contendprovider - providerorg.apache.zookeeper.KeeperException - zookeeper exceptionInterruptedException - interrupted exceptionpublic void waitDone()
public abstract void action()
throws org.apache.zookeeper.KeeperException,
InterruptedException
org.apache.zookeeper.KeeperException - zookeeper exceptionInterruptedException - interrupted exceptionpublic void callback()
Copyright © 2018. All rights reserved.