@InterfaceAudience.Private class ServerQueue extends Queue<ServerName>
iterNext, iterPrev
avlHeight, avlLeft, avlRight
Constructor and Description |
---|
ServerQueue(ServerName serverName,
int priority,
LockStatus serverLock) |
Modifier and Type | Method and Description |
---|---|
boolean |
requireExclusiveLock(Procedure<?> proc) |
add, compareKey, compareTo, getKey, getLockStatus, getPriority, isAvailable, isEmpty, peek, poll, size, toString
public ServerQueue(ServerName serverName, int priority, LockStatus serverLock)
public boolean requireExclusiveLock(Procedure<?> proc)
requireExclusiveLock
in class Queue<ServerName>
proc
- must not be nullCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.