Package | Description |
---|---|
org.apache.zookeeper |
Modifier and Type | Method and Description |
---|---|
Transaction |
Transaction.check(java.lang.String path,
int version) |
Transaction |
Transaction.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode) |
Transaction |
Transaction.delete(java.lang.String path,
int version) |
Transaction |
Transaction.setData(java.lang.String path,
byte[] data,
int version) |
Transaction |
ZooKeeper.transaction()
A Transaction is a thin wrapper on the
ZooKeeper.multi(java.lang.Iterable<org.apache.zookeeper.Op>) method
which provides a builder object that can be used to construct
and commit an atomic set of operations. |
Copyright © 2018 The Apache Software Foundation