Package | Description |
---|---|
org.apache.zookeeper |
Modifier and Type | Class | Description |
---|---|---|
static class |
Op.Check |
|
static class |
Op.Create |
|
static class |
Op.Delete |
|
static class |
Op.SetData |
Modifier and Type | Method | Description |
---|---|---|
static Op |
Op.check(java.lang.String path,
int version) |
Constructs an version check operation.
|
static Op |
Op.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
int flags) |
Constructs a create operation.
|
static Op |
Op.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode) |
Constructs a create operation.
|
static Op |
Op.delete(java.lang.String path,
int version) |
Constructs a delete operation.
|
static Op |
Op.setData(java.lang.String path,
byte[] data,
int version) |
Constructs an update operation.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Iterator<Op> |
MultiTransactionRecord.iterator() |
Modifier and Type | Method | Description |
---|---|---|
void |
MultiTransactionRecord.add(Op op) |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<OpResult> |
ZooKeeper.multi(java.lang.Iterable<Op> ops) |
Executes multiple ZooKeeper operations or none of them.
|
void |
ZooKeeper.multi(java.lang.Iterable<Op> ops,
AsyncCallback.MultiCallback cb,
java.lang.Object ctx) |
The asynchronous version of multi.
|
Constructor | Description |
---|---|
MultiTransactionRecord(java.lang.Iterable<Op> ops) |
Copyright © 2018 The Apache Software Foundation