public void set(String path, String data, boolean compress) { try { client.create().compressed().creatingParentsIfNeeded().forPath(path, data.getBytes()); } catch (Exception e) { // throw new RuntimeException(e); } }
public void set(String path, String data, boolean compress) { try { client.create().compressed().creatingParentsIfNeeded().forPath(path, data.getBytes()); } catch (Exception e) { // throw new RuntimeException(e); } }