protected static class ZKInterProcessLockBase.ZNodeComparator extends Object implements Comparator<String>
Modifier and Type | Field and Description |
---|---|
static ZKInterProcessLockBase.ZNodeComparator |
COMPARATOR |
Modifier | Constructor and Description |
---|---|
private |
ZKInterProcessLockBase.ZNodeComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(String zNode1,
String zNode2) |
static long |
getChildSequenceId(String childZNode)
Parses sequenceId from the znode name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final ZKInterProcessLockBase.ZNodeComparator COMPARATOR
private ZKInterProcessLockBase.ZNodeComparator()
public static long getChildSequenceId(String childZNode)
public int compare(String zNode1, String zNode2)
compare
in interface Comparator<String>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.