Package | Description |
---|---|
org.apache.giraph.utils |
Package of all generic utility classes.
|
org.apache.giraph.zk |
Package of
ZooKeeper related objects. |
Modifier and Type | Method and Description |
---|---|
static ZooKeeperExt.PathStat |
WritableUtils.writeListToZnode(ZooKeeperExt zkExt,
String zkPath,
int version,
List<? extends org.apache.hadoop.io.Writable> writableList)
Write list of objects to a ZooKeeper znode.
|
static ZooKeeperExt.PathStat |
WritableUtils.writeToZnode(ZooKeeperExt zkExt,
String zkPath,
int version,
org.apache.hadoop.io.Writable... writableObjects)
Write object to a ZooKeeper znode.
|
Modifier and Type | Method and Description |
---|---|
ZooKeeperExt.PathStat |
ZooKeeperExt.createOnceExt(String path,
byte[] data,
List<org.apache.zookeeper.data.ACL> acl,
org.apache.zookeeper.CreateMode createMode,
boolean recursive)
Create a znode if there is no other znode there
|
ZooKeeperExt.PathStat |
ZooKeeperExt.createOrSetExt(String path,
byte[] data,
List<org.apache.zookeeper.data.ACL> acl,
org.apache.zookeeper.CreateMode createMode,
boolean recursive,
int version)
Create a znode.
|
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.