| Package | Description |
|---|---|
| com.h3c.dist.sync |
| Modifier and Type | Method and Description |
|---|---|
SyncServiceNodePath |
SyncServiceNode.getNodePath()
Get node's hierarchy in the distributed database from the root
|
SyncServiceNodePath |
SyncServiceMultiOpResult.CreateResult.getPath() |
SyncServiceNodePath |
SyncServiceMultiOp.getPath() |
static SyncServiceNodePath |
SyncServiceUtil.skipTailNodeFromPath(SyncServiceNodePath path) |
| Modifier and Type | Method and Description |
|---|---|
int |
SyncServiceNodePath.compareTo(SyncServiceNodePath o) |
static SyncServiceMultiOp.CreateNode |
SyncServiceMultiOp.createNode(SyncServiceNodePath path,
byte[] data,
SyncServiceCreateMode mode) |
SyncServiceNode |
SyncService.createNode(SyncServiceNodePath nodePath,
byte[] data,
SyncServiceCreateMode createMode)
Create a new data node on distributed in memory database
|
static SyncServiceMultiOp.DeleteNode |
SyncServiceMultiOp.deleteNode(SyncServiceNodePath path) |
static SyncServiceMultiOp.DeleteNode |
SyncServiceMultiOp.deleteNode(SyncServiceNodePath path,
int version) |
static void |
SyncServiceUtil.deletePath(SyncService svc,
SyncServiceNodePath path,
boolean deleteParent)
Delete a path hierarchy.
|
SyncServiceNode |
SyncService.getNode(SyncServiceNodePath nodePath)
Get existing data node from distributed in memory database
|
boolean |
SyncService.nodeExists(SyncServiceNodePath nodePath)
Check for node existence
|
boolean |
SyncService.nodeExists(SyncServiceNodePath nodePath,
SyncServiceUser watcher)
Check for node existence and register watch on the node that is triggered
when the node is created, deleted or node's data is changed
|
void |
SyncServiceUser.processWatch(SyncServiceNodePath nodePath,
SyncServiceEventType eventType)
Invoked when a watch is triggered
|
static SyncServiceMultiOp.SetData |
SyncServiceMultiOp.setData(SyncServiceNodePath path,
byte[] data) |
static SyncServiceMultiOp.SetData |
SyncServiceMultiOp.setData(SyncServiceNodePath path,
byte[] data,
int version) |
static SyncServiceNodePath |
SyncServiceUtil.skipTailNodeFromPath(SyncServiceNodePath path) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SyncServiceUtil.deletePaths(SyncService svc,
List<SyncServiceNodePath> pathList,
boolean deleteParent)
Delete a set of path hierarchies.
|
| Constructor and Description |
|---|
SyncServiceMultiOpResult.CreateResult(SyncServiceNodePath path) |
Copyright © 2014. All Rights Reserved.