@InterfaceAudience.Private class TableQueue extends Queue<TableName>
| Modifier and Type | Field and Description | 
|---|---|
| private LockStatus | namespaceLockStatus | 
iterNext, iterPrevavlHeight, avlLeft, avlRight| Constructor and Description | 
|---|
| TableQueue(TableName tableName,
          int priority,
          LockStatus tableLock,
          LockStatus namespaceLockStatus) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isAvailable() | 
| boolean | requireExclusiveLock(Procedure<?> proc) | 
| private static boolean | requireTableExclusiveLock(TableProcedureInterface proc) | 
add, compareKey, compareTo, getKey, getLockStatus, getPriority, isEmpty, peek, poll, size, toStringprivate final LockStatus namespaceLockStatus
public TableQueue(TableName tableName, int priority, LockStatus tableLock, LockStatus namespaceLockStatus)
public boolean isAvailable()
isAvailable in class Queue<TableName>public boolean requireExclusiveLock(Procedure<?> proc)
requireExclusiveLock in class Queue<TableName>proc - must not be nullprivate static boolean requireTableExclusiveLock(TableProcedureInterface proc)
proc - must not be nullCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.