public abstract class BaseStrategy extends Object implements IExecStrategy
| 构造器和说明 |
|---|
BaseStrategy() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDataString(String key)
Get string type data.
|
BaseTransaction |
transaction()
Create zookeeper transaction.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProvidercheckExists, checkExists, createCurrentOnly, deleteOnlyCurrent, deleteOnlyCurrent, getChildren, getData, getData, updatecreateAllNeedPath, deleteAllChildren, deleteCurrentBranchpublic final String getDataString(String key) throws org.apache.zookeeper.KeeperException, InterruptedException
IActiongetDataString 在接口中 IActionkey - keyorg.apache.zookeeper.KeeperException - zookeeper exceptionInterruptedException - interrupted exceptionpublic final BaseTransaction transaction()
IExecStrategytransaction 在接口中 IExecStrategyCopyright © 2018. All rights reserved.