public class LockInternals extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
clean()
Attempt to delete the lock node so that sequence numbers get reset
|
static Collection<String> |
getParticipantNodes(org.apache.curator.framework.CuratorFramework client,
String basePath,
String lockName,
LockInternalsSorter sorter) |
static List<String> |
getSortedChildren(org.apache.curator.framework.CuratorFramework client,
String basePath,
String lockName,
LockInternalsSorter sorter) |
static List<String> |
getSortedChildren(String lockName,
LockInternalsSorter sorter,
List<String> children) |
public void clean()
throws Exception
Exception - errorspublic static Collection<String> getParticipantNodes(org.apache.curator.framework.CuratorFramework client, String basePath, String lockName, LockInternalsSorter sorter) throws Exception
Exceptionpublic static List<String> getSortedChildren(org.apache.curator.framework.CuratorFramework client, String basePath, String lockName, LockInternalsSorter sorter) throws Exception
ExceptionCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.