protected static class ZKInterProcessLockBase.ZNodeComparator extends Object implements Comparator<String>
Modifier and Type | Field and Description |
---|---|
static ZKInterProcessLockBase.ZNodeComparator |
COMPARATOR |
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
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final ZKInterProcessLockBase.ZNodeComparator COMPARATOR
public static long getChildSequenceId(String childZNode)
public int compare(String zNode1, String zNode2)
compare
in interface Comparator<String>