@Test public void testData() throws Exception { PersistentEphemeralNode node = createNode(PATH); byte[] bytes = _curator.getData().forPath(node.getActualPath()); assertArrayEquals(bytes, DATA); }
@VisibleForTesting String getActualPath() throws ExecutionException, InterruptedException { return _async.getActualPath(); }
PersistentEphemeralNode { @VisibleForTesting String getActualPath() throws ExecutionException, InterruptedException { return _async.getActualPath(); } }
PersistentEphemeralNode { @VisibleForTesting String getActualPath() throws ExecutionException, InterruptedException { return _async.getActualPath(); } PersistentEphemeralNode(CuratorFramework curator, String basePath, byte[] data, CreateMode mode); }
PersistentEphemeralNode { @VisibleForTesting String getActualPath() throws ExecutionException, InterruptedException { return _async.getActualPath(); } PersistentEphemeralNode(CuratorFramework curator, String basePath, byte[] data, CreateMode mode); void close(long duration, TimeUnit unit); }
PersistentEphemeralNode { @VisibleForTesting String getActualPath() throws ExecutionException, InterruptedException { return _async.getActualPath(); } PersistentEphemeralNode(CuratorFramework curator, String basePath, byte[] data, CreateMode mode); void close(long duration, TimeUnit unit);  }