Package | Description |
---|---|
org.apache.zookeeper |
Modifier and Type | Class and Description |
---|---|
static class |
Op.Check |
static class |
Op.Create |
static class |
Op.Delete |
static class |
Op.SetData |
Modifier and Type | Method and 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,
CreateMode createMode)
Constructs a create 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.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 and Description |
---|---|
java.util.Iterator<Op> |
MultiTransactionRecord.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
MultiTransactionRecord.add(Op op) |
Modifier and Type | Method and Description |
---|---|
java.util.List<OpResult> |
ZooKeeper.multi(java.lang.Iterable<Op> ops)
Executes multiple ZooKeeper operations or none of them.
|
Constructor and Description |
---|
MultiTransactionRecord(java.lang.Iterable<Op> ops) |
Copyright © 2019 The Apache Software Foundation