iterNext, iterPrev
avlHeight, avlLeft, avlRight
Constructor and Description |
---|
PeerQueue(String peerId,
LockStatus lockStatus) |
Modifier and Type | Method and Description |
---|---|
boolean |
requireExclusiveLock(Procedure<?> proc) |
private static boolean |
requirePeerExclusiveLock(PeerProcedureInterface proc) |
add, compareKey, compareTo, getKey, getLockStatus, getPriority, isAvailable, isEmpty, peek, poll, size, toString
public PeerQueue(String peerId, LockStatus lockStatus)
public boolean requireExclusiveLock(Procedure<?> proc)
requireExclusiveLock
in class Queue<String>
proc
- must not be nullprivate static boolean requirePeerExclusiveLock(PeerProcedureInterface proc)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.