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