java.lang.Object | |
↳ | org.apache.helix.manager.zk.ZkBaseDataAccessor<T> |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ZkBaseDataAccessor.AccessResult | structure holding return information |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
sync create a znode
| |||||||||||
async create multiple znodes
| |||||||||||
sync create a znode.
| |||||||||||
sync set a znode, create parent paths if necessary
| |||||||||||
sync update a znode, create parent paths if necessary
| |||||||||||
async test existence on multiple znodes
| |||||||||||
sync exists
| |||||||||||
async get a list of znodes
| |||||||||||
sync get a znode
| |||||||||||
sync getChildNames
| |||||||||||
asyn getChildren
| |||||||||||
sync getStat
| |||||||||||
async get stats of mulitple znodes
| |||||||||||
async remove multiple znodes
| |||||||||||
sync remove
| |||||||||||
Reset
| |||||||||||
sync set a znode
| |||||||||||
sync set a znode with expect version
| |||||||||||
async set multiple znodes
| |||||||||||
Subscrie to zookeeper data changes
| |||||||||||
Subscribe to zookeeper data changes
| |||||||||||
Unsubscrie to zookeeper data changes
| |||||||||||
Unsubscribe to zookeeper data changes
| |||||||||||
sync update a znode
| |||||||||||
async update
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.helix.BaseDataAccessor
|
sync create a znode
path | path to the ZNode to create |
---|---|
record | the data to write to the ZNode |
options | Set the type of ZNode see the valid values in AccessOption |
async create multiple znodes
paths | the paths to the children ZNodes |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |
sync create a znode. create parent znodes if necessary
path | path to create |
---|---|
record | value to create, null for no value |
sync set a znode, create parent paths if necessary
sync update a znode, create parent paths if necessary
async test existence on multiple znodes
paths | paths to the ZNodes to test |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |
sync exists
path | path to the ZNode to test |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |
async get a list of znodes
paths | paths to the ZNodes |
---|---|
stats | retrieve a list of stats for the ZNodes |
options | Set the type of ZNode see the valid values in AccessOption |
sync get a znode
path | path to the ZNode |
---|---|
stat | retrieve the stat of the ZNode |
options | Set the type of ZNode see the valid values in AccessOption |
sync getChildNames
parentPath | path to the immediate parent ZNode |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |
asyn getChildren
stats | Zookeeper Stat objects corresponding to each child |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |
sync getStat
path | path of the ZNode to query |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |
async get stats of mulitple znodes
paths | paths of the ZNodes to query |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |
async remove multiple znodes
paths | paths to the ZNodes to remove |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |
sync remove
path | path to the root ZNode to remove |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |
Reset
sync set a znode
path | path to the ZNode to set |
---|---|
record | the data to write to the ZNode |
options | Set the type of ZNode see the valid values in AccessOption |
sync set a znode with expect version
path | path to the ZNode to set |
---|---|
record | the data to write to the ZNode |
expectVersion | the expected version of the data to be overwritten, -1 means match any version |
options | Set the type of ZNode see the valid values in AccessOption |
async set multiple znodes
paths | the paths to the children ZNodes |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |
Subscrie to zookeeper data changes
path | path to the immediate parent ZNode |
---|---|
listener | the listener to register for changes |
Subscribe to zookeeper data changes
path | path to the ZNode to listen to |
---|---|
listener | the listener to register for changes |
Unsubscrie to zookeeper data changes
path | path to the immediate parent ZNode |
---|---|
childListener | the listener currently subscribed to the children |
Unsubscribe to zookeeper data changes
path | path to the ZNode to stop listening to |
---|---|
dataListener | the listener currently subscribed to the ZNode |
sync update a znode
path | path to the ZNode to update |
---|---|
updater | an update routine for the data to merge in |
options | Set the type of ZNode see the valid values in AccessOption |
async update
updaters | List of update routines for records to update |
---|---|
options | Set the type of ZNode see the valid values in AccessOption |