Пример #1
0
 public static List<OpResult> commit(final Transaction tx)
     throws InterruptedException, KeeperException {
   return tx.commit();
 }
Пример #2
0
 public static Transaction setData(
     final Transaction tx, final String path, final byte[] data, final int version) {
   return tx.setData(path, data, version);
 }
Пример #3
0
 public static Transaction check(final Transaction tx, final String path, final int version) {
   return tx.check(path, version);
 }
Пример #4
0
 public static Transaction delete(final Transaction tx, final String path, final int version) {
   return tx.delete(path, version);
 }
Пример #5
0
 public static Transaction create(
     final Transaction tx, final String path, final byte[] data, final CreateMode createMode) {
   return tx.create(path, data, ZooDefs.Ids.OPEN_ACL_UNSAFE, createMode);
 }