|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReplicationStateInterface
This provides an interface for getting and setting the replication state of a cluster. This state is used to indicate whether replication is enabled or disabled on a cluster.
| Method Summary | |
|---|---|
boolean |
getState()
Get the current state of replication (i.e. |
void |
setState(boolean newState)
Set the state of replication. |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Method Detail |
|---|
boolean getState()
throws org.apache.zookeeper.KeeperException
org.apache.zookeeper.KeeperException
void setState(boolean newState)
throws org.apache.zookeeper.KeeperException
newState -
org.apache.zookeeper.KeeperException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||