public static boolean putPersistentData(ZooKeeperConnectionInfo info, String zPath, byte[] data, int version, NodeExistsPolicy policy, List<ACL> acls) throws KeeperException, InterruptedException { return putData(info, zPath, data, CreateMode.PERSISTENT, version, policy, acls); }
/** * Create a persistent node with the default ACL * * @return true if the node was created or altered; false if it was skipped */ public static boolean putPersistentData(ZooKeeperConnectionInfo info, String zPath, byte[] data, NodeExistsPolicy policy) throws KeeperException, InterruptedException { return putData(info, zPath, data, CreateMode.PERSISTENT, -1, policy, PUBLIC); }
public static boolean putPersistentData(ZooKeeperConnectionInfo info, String zPath, byte[] data, int version, NodeExistsPolicy policy) throws KeeperException, InterruptedException { return putData(info, zPath, data, CreateMode.PERSISTENT, version, policy, PUBLIC); }
public static boolean putPrivatePersistentData(ZooKeeperConnectionInfo info, String zPath, byte[] data, NodeExistsPolicy policy) throws KeeperException, InterruptedException { return putData(info, zPath, data, CreateMode.PERSISTENT, -1, policy, PRIVATE); }
public static boolean putPersistentData(ZooKeeperConnectionInfo info, String zPath, byte[] data, int version, NodeExistsPolicy policy, List<ACL> acls) throws KeeperException, InterruptedException { return putData(info, zPath, data, CreateMode.PERSISTENT, version, policy, acls); }
/** * Create a persistent node with the default ACL * * @return true if the node was created or altered; false if it was skipped */ public static boolean putPersistentData(ZooKeeperConnectionInfo info, String zPath, byte[] data, NodeExistsPolicy policy) throws KeeperException, InterruptedException { return putData(info, zPath, data, CreateMode.PERSISTENT, -1, policy, PUBLIC); }
public static boolean putPersistentData(ZooKeeperConnectionInfo info, String zPath, byte[] data, int version, NodeExistsPolicy policy) throws KeeperException, InterruptedException { return putData(info, zPath, data, CreateMode.PERSISTENT, version, policy, PUBLIC); }
public static boolean putPrivatePersistentData(ZooKeeperConnectionInfo info, String zPath, byte[] data, NodeExistsPolicy policy) throws KeeperException, InterruptedException { return putData(info, zPath, data, CreateMode.PERSISTENT, -1, policy, PRIVATE); }