org.apache.activemq.kaha.impl.index.tree.TreePage.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activemq-core Show documentation
Show all versions of activemq-core Show documentation
The ActiveMQ Message Broker and Client implementations
???? 1
L M N O
?P???????? Q R S TU
L VW
PX
Y
Z
[\
]
^_
`abcdaefgfhi
j
klman
P
oaplqlr
s
tcu
vcwax
yz{|
}~
0
y?
?
?
b
?
?
?
?
?
?
x
?
??
??
?
p?
p?
?
?
?
p?
?
p?
?
? ??
?
?
?
?
?
?
?
?
y?
y?
?
?
?
?
?
?
?
?
?
?
?
?
? ??
?
?
?
?
y?a?
??
p?
??
sP
x??p?e?
x?a?a?a?a?
y? ???
?
???? Flavour InnerClasses PAGE_HEADER_SIZE I
ConstantValue LOG Lorg/apache/commons/logging/Log; tree 4Lorg/apache/activemq/kaha/impl/index/tree/TreeIndex; maximumEntries id J parentId leaf Z treeEntries Ljava/util/List; Signature FLjava/util/List; nextFreePageId active :(Lorg/apache/activemq/kaha/impl/index/tree/TreeIndex;JJI)V Code LineNumberTable LocalVariableTable this 3Lorg/apache/activemq/kaha/impl/index/tree/TreePage; (I)V toString ()Ljava/lang/String; equals (Ljava/lang/Object;)Z other o Ljava/lang/Object; result hashCode ()I isActive ()Z setActive (Z)V getNextFreePageId ()J setNextFreePageId (J)V
nextPageId getId setId write <(Lorg/apache/activemq/kaha/Marshaller;Ljava/io/DataOutput;)V entry 4Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry; i$ Ljava/util/Iterator;
keyMarshaller %Lorg/apache/activemq/kaha/Marshaller; dataOut Ljava/io/DataOutput;
Exceptions? read ;(Lorg/apache/activemq/kaha/Marshaller;Ljava/io/DataInput;)V i dataIn Ljava/io/DataInput; size
readHeader (Ljava/io/DataInput;)V writeHeader (Ljava/io/DataOutput;)V isEmpty isFull isRoot isLeaf
isUnderflowed isOverflowed setLeaf newValue getParent 5()Lorg/apache/activemq/kaha/impl/index/tree/TreePage; getParentId setParentId newId
getEntries ()Ljava/util/List; H()Ljava/util/List;
setEntries (Ljava/util/List;)V
newEntries LocalVariableTypeTable I(Ljava/util/List;)V getMaximumEntries setMaximumEntries getTree 6()Lorg/apache/activemq/kaha/impl/index/tree/TreeIndex; setTree 7(Lorg/apache/activemq/kaha/impl/index/tree/TreeIndex;)V reset ()V find j(Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry;)Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry; mid te cmp key low high pageId page put newEntry remove doInsert ?(Lorg/apache/activemq/kaha/impl/index/tree/TreePage$Flavour;Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry;)Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry; oldValue closestEntry closestPage flavour ;Lorg/apache/activemq/kaha/impl/index/tree/TreePage$Flavour; closest 8Lorg/apache/activemq/kaha/impl/index/tree/TreePageEntry;
doOverflow ?(Lorg/apache/activemq/kaha/impl/index/tree/TreePage$Flavour;Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry;)Lorg/apache/activemq/kaha/impl/index/tree/TreePage; midIndex midEntry subList newRoot rightPage theEntry doRemove index doUnderflow lastIndex working 8(Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry;I)Z replacement copy replacementIndex parent landed removed prevEntry doUnderflowLeaf landedOn list
getFlavour ?(Lorg/apache/activemq/kaha/impl/index/tree/TreePage;Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry;)Lorg/apache/activemq/kaha/impl/index/tree/TreePage$Flavour; last checkLeaf checkParentIdForRemovedPageEntry 9(Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry;JJ)V oldPageId newPageId removePageId findClosestEntry n(Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry;)Lorg/apache/activemq/kaha/impl/index/tree/TreePageEntry; treePage treeEntry
doInsertEntry 7(Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry;)I midVal insertTreeEntry 8(ILorg/apache/activemq/kaha/impl/index/tree/TreeEntry;)V p n nextEntry resetPageReference (IJ)V (J)Z updated
resetParentId (JLjava/util/List;)V Ljava/lang/Long; newParentId entries set Ljava/util/Set; !Ljava/util/Set; J(JLjava/util/List;)V addTreeEntry removeTreeEntry 7(I)Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry; removeAllTreeEntries c
getSubList (II)Ljava/util/List; from to J(II)Ljava/util/List; getTreeEntry
saveHeader save dump
SourceFile
TreePage.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/util/ArrayList ? ? java/lang/StringBuilder TreePage[?? ? ??? ]parent= ? ? ? ? 1org/apache/activemq/kaha/impl/index/tree/TreePage ? ?? ? ??? ????? ??? 2org/apache/activemq/kaha/impl/index/tree/TreeEntry ? ? ? ??? ?? ? ? ?? ?? ?? ? ? ? ? ?? ? ? ?? ? ? ???? java/lang/IllegalStateException %Cannot set page as a child of itself ?? trying to set parentId = ???? ? ? ? ?E=??? ?? ? ? ? ? ?)* ? ? 1insert() should not be called on non root page - ? .remove() should not be called on non root page"#E?? ?? ?? ?G ?? ? ?? ?&'? ?<= ? ?? ?? ? ? ? ? ?@A> ?? ??? ? ? ? ? ?23 ? ? ?? ?./ ? ?? ?.0 ??! ?????? ? 6org/apache/activemq/kaha/impl/index/tree/TreePageEntry ??;* java/util/HashSet? java/lang/Long ?? ??A? ? ? H ?
java/lang/Object 9org/apache/activemq/kaha/impl/index/tree/TreePage$Flavour java/io/IOException append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; java/util/List java/io/DataOutput writeInt iterator ()Ljava/util/Iterator; java/util/Iterator hasNext next ()Ljava/lang/Object; java/io/DataInput readInt clear add readBoolean readLong writeBoolean writeLong 2org/apache/activemq/kaha/impl/index/tree/TreeIndex
lookupPage 6(J)Lorg/apache/activemq/kaha/impl/index/tree/TreePage; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V writePage 6(Lorg/apache/activemq/kaha/impl/index/tree/TreePage;)V compareTo (Ljava/lang/Object;)I
getNextPageId
getPrevPageId 6()Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry; getTreePage getIndexOffset setIndexOffset =()Lorg/apache/activemq/kaha/impl/index/tree/TreePage$Flavour; getIndex LESS
setNextPageId
setPrevPageId
createRoot
createPage MORE (Ljava/util/Collection;)V releasePage get (I)Ljava/lang/Object; hasChildPagesReferences ?(Lorg/apache/activemq/kaha/impl/index/tree/TreeEntry;Lorg/apache/activemq/kaha/impl/index/tree/TreePage;Lorg/apache/activemq/kaha/impl/index/tree/TreePage$Flavour;I)V valueOf (J)Ljava/lang/Long;
java/util/Set longValue (ILjava/lang/Object;)V removeAll (Ljava/util/Collection;)Z
writeFullPage org/apache/commons/logging/Log info (Ljava/lang/Object;)V %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? = ? ? ? y *? *+? * ? *? ? ? B C D E F ? 4 ? ? ? ? ? ? ? ? ? ? ? ? ? ~ .*? * ? *? * ? *?
*? *? Y?
? ? ? " M 0 1 6 7 N ! O - P ? . ? ? . ? ? ? ? ? M #? Y? ? *? ? ? *? ? ? ? ? S ? # ? ? ? ? ? z "=+? ? +? N-? *? ?? ? =? ? W X Y Z \ ? * ? ? " ? ? " ? ? ? ? ? ? ? 0 *? ?? ? ` ? ? ? ? ? ? / *?
? ? d ? ? ? ? ? ? > *?
? ?
h i ? ? ? ? ? ? ? ? / *? ? ? l ? ? ? ? ? ? > *? ? ?
p q ? ? ? ? ? ? ? ? / *? ? ? t ? ? ? ? ? ? > *? ? ?
x y ? ? ? ? ? ? ? ? ? =*,? ,*? ? ? *? ? N-? ? -? ? :+,? ??? ? | } ~ 2 <