Package org.apache.hadoop.hbase.io.util
Class LRUDictionary.BidirectionalLRUMap
java.lang.Object
org.apache.hadoop.hbase.io.util.LRUDictionary.BidirectionalLRUMap
- Enclosing class:
- LRUDictionary
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate LRUDictionary.BidirectionalLRUMap.Node[]private int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidclear()private shortfindIdx(byte[] array, int offset, int length) private shortfindIdx(ByteBuffer buf, int offset, int length) private byte[]get(short idx) private voidprivate shortput(byte[] array, int offset, int length, boolean copy) private shortputInternal(byte[] stored) private void
-
Field Details
-
currSize
-
head
-
tail
-
nodeToIndex
-
indexToNode
-
initSize
-
-
Constructor Details
-
BidirectionalLRUMap
-
-
Method Details
-
put
-
putInternal
-
findIdx
-
findIdx
-
get
-
moveToHead
-
setHead
-
clear
-