@InterfaceAudience.Public
public class Transaction
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Transaction |
check(java.lang.String path,
int version) |
java.util.List<org.apache.zookeeper.OpResult> |
commit() |
void |
commit(AsyncCallback.MultiCallback cb,
java.lang.Object ctx) |
Transaction |
create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode) |
Transaction |
delete(java.lang.String path,
int version) |
Transaction |
setData(java.lang.String path,
byte[] data,
int version) |
public Transaction create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)
public Transaction delete(java.lang.String path, int version)
public Transaction check(java.lang.String path, int version)
public Transaction setData(java.lang.String path, byte[] data, int version)
public java.util.List<org.apache.zookeeper.OpResult> commit() throws java.lang.InterruptedException, KeeperException
java.lang.InterruptedException
KeeperException
public void commit(AsyncCallback.MultiCallback cb, java.lang.Object ctx)
Copyright © 2018 The Apache Software Foundation