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