org.apache.curator.framework.recipes.locks
Class LockInternals

java.lang.Object
  extended by org.apache.curator.framework.recipes.locks.LockInternals

public class LockInternals
extends Object


Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clean

public void clean()
           throws Exception
Attempt to delete the lock node so that sequence numbers get reset

Throws:
Exception - errors

getParticipantNodes

public static Collection<String> getParticipantNodes(org.apache.curator.framework.CuratorFramework client,
                                                     String basePath,
                                                     String lockName,
                                                     LockInternalsSorter sorter)
                                              throws Exception
Throws:
Exception

getSortedChildren

public static List<String> getSortedChildren(org.apache.curator.framework.CuratorFramework client,
                                             String basePath,
                                             String lockName,
                                             LockInternalsSorter sorter)
                                      throws Exception
Throws:
Exception

getSortedChildren

public static List<String> getSortedChildren(String lockName,
                                             LockInternalsSorter sorter,
                                             List<String> children)


Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.