Public Methods |
static
void
|
asyncCreateOrUpdate(ZkClient client, String path, ZNRecord record, boolean persistent, boolean mergeOnUpdate)
|
static
void
|
createChildren(ZkClient client, String parentPath, List<ZNRecord> list)
|
static
void
|
createChildren(ZkClient client, String parentPath, ZNRecord nodeRecord)
|
static
void
|
createOrReplace(ZkClient client, String path, ZNRecord record, boolean persistent)
|
static
void
|
createOrUpdate(ZkClient client, String path, ZNRecord record, boolean persistent, boolean mergeOnUpdate)
|
static
void
|
dropChildren(ZkClient client, String parentPath, ZNRecord nodeRecord)
|
static
void
|
dropChildren(ZkClient client, String parentPath, List<ZNRecord> list)
|
static
List<ZNRecord>
|
getChildren(ZkClient client, String path)
|
static
boolean
|
isClusterSetup(String clusterName, ZkClient zkClient)
|
static
boolean
|
isInstanceSetup(ZkClient zkclient, String clusterName, String instanceName, InstanceType type)
|
static
void
|
subtract(ZkClient client, String path, ZNRecord recordTosubtract)
|
static
void
|
updateIfExists(ZkClient client, String path, ZNRecord record, boolean mergeOnUpdate)
|