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(CuratorFramework client,
String basePath,
String lockName,
LockInternalsSorter sorter) |
static List<String> |
getSortedChildren(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(CuratorFramework client, String basePath, String lockName, LockInternalsSorter sorter) throws Exception
Exception
public static List<String> getSortedChildren(CuratorFramework client, String basePath, String lockName, LockInternalsSorter sorter) throws Exception
Exception
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.