Package | Description |
---|---|
org.apache.zookeeper |
Modifier and Type | Method and Description |
---|---|
Transaction |
Transaction.check(String path,
int version) |
Transaction |
Transaction.create(String path,
byte[] data,
List<ACL> acl,
CreateMode createMode) |
Transaction |
Transaction.delete(String path,
int version) |
Transaction |
Transaction.setData(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 © 2008–2019 The Apache Software Foundation. All rights reserved.