| 程序包 | 说明 |
|---|---|
| net.wicp.tams.commons.zookeeper | |
| net.wicp.tams.commons.zookeeper.event |
| 限定符和类型 | 方法和说明 |
|---|---|
State |
LeaderElection.getState() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
LeaderElection.changeState(State newState) |
| 限定符和类型 | 方法和说明 |
|---|---|
static State |
State.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static State[] |
State.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
IElection.DoElection(State from,
State to) |
Copyright © 2016. All rights reserved.