Class StandardLockInternalsDriver
java.lang.Object
org.apache.curator.framework.recipes.locks.StandardLockInternalsDriver
- All Implemented Interfaces:
- LockInternalsDriver,- LockInternalsSorter
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreatesTheLock(CuratorFramework client, String path, byte[] lockNodeBytes) fixForSorting(String str, String lockName) protected StringgetsTheLock(CuratorFramework client, List<String> children, String sequenceNodeName, int maxLeases) static StringstandardFixForSorting(String str, String lockName) 
- 
Constructor Details- 
StandardLockInternalsDriverpublic StandardLockInternalsDriver()
 
- 
- 
Method Details- 
getsTheLockpublic PredicateResults getsTheLock(CuratorFramework client, List<String> children, String sequenceNodeName, int maxLeases) throws Exception - Specified by:
- getsTheLockin interface- LockInternalsDriver
- Throws:
- Exception
 
- 
getSortingSequence
- 
createsTheLockpublic String createsTheLock(CuratorFramework client, String path, byte[] lockNodeBytes) throws Exception - Specified by:
- createsTheLockin interface- LockInternalsDriver
- Throws:
- Exception
 
- 
fixForSorting- Specified by:
- fixForSortingin interface- LockInternalsSorter
 
- 
standardFixForSorting
 
-