@Test public void testNodesCreateUniquePaths() throws Exception { PersistentEphemeralNode node1 = createNode(PATH, CreateMode.EPHEMERAL); String path1 = node1.getActualPath(); PersistentEphemeralNode node2 = createNode(PATH, CreateMode.EPHEMERAL); String path2 = node2.getActualPath(); assertFalse(path1.equals(path2)); }
@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);  }