|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.orbitz.consul.util.LeaderElectionUtil
public class LeaderElectionUtil
| Constructor Summary | |
|---|---|
LeaderElectionUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
electNewLeaderForService(Consul client,
java.lang.String serviceName,
java.lang.String info)
|
static java.lang.String |
getLeaderInfoForService(Consul client,
java.lang.String serviceName)
|
void |
LeaderElectionUtil()
|
static boolean |
releaseLockForService(Consul client,
java.lang.String serviceName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LeaderElectionUtil()
| Method Detail |
|---|
public void LeaderElectionUtil()
public static java.lang.String getLeaderInfoForService(Consul client,
java.lang.String serviceName)
public static java.lang.String electNewLeaderForService(Consul client,
java.lang.String serviceName,
java.lang.String info)
public static boolean releaseLockForService(Consul client,
java.lang.String serviceName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||