Package | Description |
---|---|
org.apache.hadoop.hbase.master.procedure | |
org.apache.hadoop.hbase.util |
Modifier and Type | Field and Description |
---|---|
private static AvlUtil.AvlKeyComparator<MetaQueue> |
MasterProcedureScheduler.META_QUEUE_KEY_COMPARATOR |
private static AvlUtil.AvlKeyComparator<ServerQueue> |
MasterProcedureScheduler.SERVER_QUEUE_KEY_COMPARATOR |
private static AvlUtil.AvlKeyComparator<TableQueue> |
MasterProcedureScheduler.TABLE_QUEUE_KEY_COMPARATOR |
Modifier and Type | Method and Description |
---|---|
private <T extends Comparable<T>,TNode extends Queue<T>> |
MasterProcedureScheduler.clear(TNode treeMap,
FairQueue<T> fairq,
AvlUtil.AvlKeyComparator<TNode> comparator) |
Modifier and Type | Method and Description |
---|---|
static <TNode extends AvlUtil.AvlNode> |
AvlUtil.AvlTree.get(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator) |
static <TNode extends AvlUtil.AvlNode> |
AvlUtil.AvlTree.insert(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator,
AvlUtil.AvlInsertOrReplace<TNode> insertOrReplace)
Insert a node into the tree.
|
static <TNode extends AvlUtil.AvlNode> |
AvlUtil.AvlTree.remove(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator)
Removes the node matching the specified key from the tree
|
static <TNode extends AvlUtil.AvlNode> |
AvlUtil.AvlTree.remove(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator,
AtomicBoolean removed)
Removes the node matching the specified key from the tree
|
void |
AvlUtil.AvlTreeIterator.seekTo(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator)
Reset the iterator, and seeks to the specified key
|
Constructor and Description |
---|
AvlTreeIterator(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator)
Create the iterator starting from the specified key
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.