org.apache.jackrabbit.oak.plugins.segment.SegmentIdTable.class Maven / Gradle / Ivy
???? 3 ?
6 ? ?
? ?
? ? 4 ? 4 ?
4 ?
0 ?
? ?
?
?
0 ?
?
?
0 ? 4 ???
4 ? ? ?
? ? ? ?
4 ? ? ? 4 ? ?
? ?
?
? ?
? ? ? 4 ?
0 ?
0 ? ? ? ? ? ? ? ? ? ? * ? * ? ? ?
? ?
? ?
0 ?
0 ?
0 ? ?
? ? ?
references Ljava/util/ArrayList; Signature kLjava/util/ArrayList;>; tracker :Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker; LOG Lorg/slf4j/Logger; rebuildCount I
entryCount =(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker;)V Code LineNumberTable LocalVariableTable this :Lorg/apache/jackrabbit/oak/plugins/segment/SegmentIdTable; getSegmentId 9(JJ)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; id 5Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; msb J lsb first index
shouldRefresh Z reference Ljava/lang/ref/WeakReference; LocalVariableTypeTable TLjava/lang/ref/WeakReference;
StackMapTable ? ? ? collectReferencedIds (Ljava/util/Collection;)V ids Ljava/util/Collection; MLjava/util/Collection; P(Ljava/util/Collection;)V refresh ()Ljava/util/Collection; i entry Entry InnerClasses Ljava/util/Map$Entry; i$ Ljava/util/Iterator; size Ljava/util/Map; hashCollisions emptyReferences ?Ljava/util/Map$Entry;>; ?Ljava/util/Map;>; ? ? ? O()Ljava/util/Collection; getIndex 8(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId;)I (J)I clearSegmentIdTables L(Lorg/apache/jackrabbit/oak/plugins/segment/compaction/CompactionStrategy;)V strategy ILorg/apache/jackrabbit/oak/plugins/segment/compaction/CompactionStrategy; dirty getMapRebuildCount ()I
getEntryCount
getMapSize getRawSegmentIdList ()Ljava/util/List; ref list LLjava/util/ArrayList; ? I()Ljava/util/List; ()V
SourceFile SegmentIdTable.java B ? java/lang/ref/WeakReference ? ? ? ? ? ? 7 8 ; < u w ? ? ? ? 3org/apache/jackrabbit/oak/plugins/segment/SegmentId ? ? ? ? k ~ B ? B ? ? ? A @ b c ? ? ? ? ? ? ? ? ? u v = > java/lang/StringBuilder *Unexpected entry count mismatch, expected ? ? ? ? got ? ? ? ? ? ? @ ? ? ? ? ? ? ? ? ? ? ? ? java/util/Map$Entry ? ? ? ? ? ? ? ? ? java/util/ArrayList ? ? 8org/apache/jackrabbit/oak/plugins/segment/SegmentIdTable ? ? ? java/lang/Object
java/util/Map java/util/Iterator java/util/Collections nCopies %(ILjava/lang/Object;)Ljava/util/List; com/google/common/collect/Lists newArrayList +(Ljava/lang/Iterable;)Ljava/util/ArrayList; get (I)Ljava/lang/Object; ()Ljava/lang/Object; getMostSignificantBits ()J getLeastSignificantBits ?(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker;JJ)V (Ljava/lang/Object;)V set '(ILjava/lang/Object;)Ljava/lang/Object; java/util/Collection addAll (Ljava/util/Collection;)Z com/google/common/collect/Maps newHashMapWithExpectedSize (I)Ljava/util/HashMap; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; org/slf4j/Logger warn (Ljava/lang/String;)V clear entrySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; hasNext ()Z next getKey getValue keySet Gorg/apache/jackrabbit/oak/plugins/segment/compaction/CompactionStrategy canRemove 8(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId;)Z add (Ljava/lang/Object;)Z org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! 4 6 7 8 9 : ; <