Class TableQueue
java.lang.Object
org.apache.hadoop.hbase.util.AvlUtil.AvlNode<TNode>
org.apache.hadoop.hbase.util.AvlUtil.AvlLinkedNode<Queue<TKey>>
org.apache.hadoop.hbase.master.procedure.Queue<TableName>
org.apache.hadoop.hbase.master.procedure.TableQueue
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.util.AvlUtil.AvlLinkedNode
iterNext, iterPrev
Fields inherited from class org.apache.hadoop.hbase.util.AvlUtil.AvlNode
avlHeight, avlLeft, avlRight
-
Constructor Summary
ConstructorDescriptionTableQueue
(TableName tableName, int priority, LockStatus tableLock, LockStatus namespaceLockStatus) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
requireExclusiveLock
(Procedure<?> proc) (package private) static boolean
toString()
Methods inherited from class org.apache.hadoop.hbase.master.procedure.Queue
add, compareKey, compareTo, getKey, getLockStatus, getPriority, isEmpty, peek, poll, size
-
Field Details
-
namespaceLockStatus
-
-
Constructor Details
-
TableQueue
public TableQueue(TableName tableName, int priority, LockStatus tableLock, LockStatus namespaceLockStatus)
-
-
Method Details
-
isAvailable
- Overrides:
isAvailable
in classQueue<TableName>
-
requireExclusiveLock
- Specified by:
requireExclusiveLock
in classQueue<TableName>
- Parameters:
proc
- must not be null
-
requireTableExclusiveLock
- Parameters:
proc
- must not be null
-
toString
-