org.apache.jackrabbit.oak.plugins.segment.SegmentTracker.class Maven / Gradle / Ivy
???? 3?
A
v v
v v
v ! H"
# v$%
v& v' v()
*+
*,-
. v/
012
34
35
367
#
38
39 v:
v; <=
>?
+@AB????????
-C
D
0E
F
0GHI vJKLMNO
vPQ
RS
QTUV
*WLX
QY
6Z
0[
\]
H^
_
`a
b
vcdefgfhi
Qj
Qkdl
mn
+opqprs
Yt
Yu
vv
Qw
6x
6yzed{pl|}~
e?
v?
v??
???????? @ ???????
??
???
?? InnerClasses log Lorg/slf4j/Logger; DISABLE_STRING_CACHE Z STRING_CACHE_SIZE Ljava/lang/String;
ConstantValue MSB_MASK J VERSION LSB_MASK DATA BULK MB DEFAULT_MEMORY_CACHE_SIZE I random Ljava/security/SecureRandom; store 8Lorg/apache/jackrabbit/oak/plugins/segment/SegmentStore; writer 9Lorg/apache/jackrabbit/oak/plugins/segment/SegmentWriter;
compactionMap -Ljava/util/concurrent/atomic/AtomicReference; Signature hLjava/util/concurrent/atomic/AtomicReference; tables ;[Lorg/apache/jackrabbit/oak/plugins/segment/SegmentIdTable; stringCache 7Lorg/apache/jackrabbit/oak/plugins/segment/StringCache; segmentCache +Lorg/apache/jackrabbit/oak/cache/CacheLIRS; ?Lorg/apache/jackrabbit/oak/cache/CacheLIRS; segmentCounter +Ljava/util/concurrent/atomic/AtomicInteger; segmentVersion :Lorg/apache/jackrabbit/oak/plugins/segment/SegmentVersion; v(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentStore;ILorg/apache/jackrabbit/oak/plugins/segment/SegmentVersion;)V Code LineNumberTable LocalVariableTable i c cache this :Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker; cacheSizeMB version
StackMapTable???- u(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentStore;Lorg/apache/jackrabbit/oak/plugins/segment/SegmentVersion;)V ;(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentStore;)V getNextSegmentNo ()I createSegmentWriter M(Ljava/lang/String;)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentWriter; wid getSegmentCacheStats .()Lorg/apache/jackrabbit/oak/cache/CacheStats; RuntimeVisibleAnnotations Ljavax/annotation/Nonnull; getStringCacheStatsA Ljavax/annotation/CheckForNull; getWriter ;()Lorg/apache/jackrabbit/oak/plugins/segment/SegmentWriter; getStore :()Lorg/apache/jackrabbit/oak/plugins/segment/SegmentStore;
clearCache ()V getStringCache 9()Lorg/apache/jackrabbit/oak/plugins/segment/StringCache; getCachedSegment j(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId;)Lorg/apache/jackrabbit/oak/plugins/segment/Segment; e )Ljava/util/concurrent/ExecutionException; id 5Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId;I readSegment segment 3Lorg/apache/jackrabbit/oak/plugins/segment/Segment; delta snfe DLorg/apache/jackrabbit/oak/plugins/segment/SegmentNotFoundException;Q
setSegment k(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId;Lorg/apache/jackrabbit/oak/plugins/segment/Segment;)V setCompactionMap C(Lorg/apache/jackrabbit/oak/plugins/segment/PartialCompactionMap;)V map @Lorg/apache/jackrabbit/oak/plugins/segment/PartialCompactionMap; getCompactionMap ;()Lorg/apache/jackrabbit/oak/plugins/segment/CompactionMap; getReferencedSegmentIds ()Ljava/util/Set; table :Lorg/apache/jackrabbit/oak/plugins/segment/SegmentIdTable; arr$ len$ i$ ids Ljava/util/Set; LocalVariableTypeTable FLjava/util/Set;? ? H()Ljava/util/Set; collectBlobReferences >(Lorg/apache/jackrabbit/oak/plugins/blob/ReferenceCollector;)V sid Ljava/util/Iterator; ex rid Ljava/util/UUID; refid uid processed queue Ljava/util/Queue; Ljava/io/IOException; collector ;Lorg/apache/jackrabbit/oak/plugins/blob/ReferenceCollector; !Ljava/util/Set; #Ljava/util/Queue;???siH| getSegmentId 9(JJ)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; msb lsb index newDataSegmentId 7()Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; newBulkSegmentId newSegmentId 8(J)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; type clearSegmentIdTables L(Lorg/apache/jackrabbit/oak/plugins/segment/compaction/CompactionStrategy;)V strategy ILorg/apache/jackrabbit/oak/plugins/segment/compaction/CompactionStrategy;
SourceFile SegmentTracker.java ? ? java/security/SecureRandom ? ? 8org/apache/jackrabbit/oak/plugins/segment/SegmentIdTable ? ? )java/util/concurrent/atomic/AtomicInteger ? ? ? ? ?? ? ? +java/util/concurrent/atomic/AtomicReference?? ?? ? ? sys ? ? ? ? ~ oak.segment.stringCache????? 5org/apache/jackrabbit/oak/plugins/segment/StringCache ?? ? ???? SegmentTracker??????? :org/apache/jackrabbit/oak/plugins/segment/SegmentTracker$1???? ? ? ? ??? ?? ? 7org/apache/jackrabbit/oak/plugins/segment/SegmentWriter ?? *org/apache/jackrabbit/oak/cache/CacheStats
Segment Cache ??? ?? ?? ??? 1org/apache/jackrabbit/oak/plugins/segment/Segment 'java/util/concurrent/ExecutionException | } Error reading from segment cache???? ? ? ? ? Borg/apache/jackrabbit/oak/plugins/segment/SegmentNotFoundException????? 4Segment not found: {}. Creation date delta is {} ms. java/lang/Object???? ??? ????? 7org/apache/jackrabbit/oak/plugins/segment/CompactionMap????????? ? ????????? 3org/apache/jackrabbit/oak/plugins/segment/SegmentId?????????? ?????? java/util/UUID?????? ? ?????? java/io/IOException %Error while flushing pending segments java/lang/IllegalStateException Unexpected IOException ??
?? 8org/apache/jackrabbit/oak/plugins/segment/SegmentTracker??? oak.segment.disableStringCache??? 6org/apache/jackrabbit/oak/plugins/segment/SegmentStore 8org/apache/jackrabbit/oak/plugins/segment/SegmentVersion
java/util/Set java/util/Iterator java/util/Queue 9org/apache/jackrabbit/oak/plugins/blob/ReferenceCollector =(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker;)V EMPTY 9Lorg/apache/jackrabbit/oak/plugins/segment/CompactionMap; (Ljava/lang/Object;)V java/lang/Long getLong %(Ljava/lang/String;J)Ljava/lang/Long; longValue ()J (J)V )org/apache/jackrabbit/oak/cache/CacheLIRS
newBuilder Builder 5()Lorg/apache/jackrabbit/oak/cache/CacheLIRS$Builder; 1org/apache/jackrabbit/oak/cache/CacheLIRS$Builder module G(Ljava/lang/String;)Lorg/apache/jackrabbit/oak/cache/CacheLIRS$Builder;
maximumWeight 6(J)Lorg/apache/jackrabbit/oak/cache/CacheLIRS$Builder;
averageWeight 6(I)Lorg/apache/jackrabbit/oak/cache/CacheLIRS$Builder; evictionCallback? EvictionCallback q(Lorg/apache/jackrabbit/oak/cache/CacheLIRS$EvictionCallback;)Lorg/apache/jackrabbit/oak/cache/CacheLIRS$Builder; build -()Lorg/apache/jackrabbit/oak/cache/CacheLIRS; V_11 incrementAndGet ?(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentStore;Lorg/apache/jackrabbit/oak/plugins/segment/SegmentVersion;Ljava/lang/String;)V V(Lcom/google/common/cache/Cache;Ljava/lang/String;Lcom/google/common/cache/Weigher;J)V getStats
invalidateAll clear get &(Ljava/lang/Object;)Ljava/lang/Object; org/slf4j/Logger error *(Ljava/lang/String;Ljava/lang/Throwable;)V java/lang/System currentTimeMillis getCreationTime valueOf (J)Ljava/lang/Long; ((Ljava/lang/String;[Ljava/lang/Object;)V 6(Lorg/apache/jackrabbit/oak/plugins/segment/Segment;)V size put 9(Ljava/lang/Object;Ljava/lang/Object;I)Ljava/lang/Object; ()Ljava/lang/Object; cons {(Lorg/apache/jackrabbit/oak/plugins/segment/PartialCompactionMap;)Lorg/apache/jackrabbit/oak/plugins/segment/CompactionMap; set com/google/common/collect/Sets
newHashSet ()Ljava/util/HashSet; collectReferencedIds (Ljava/util/Collection;)V iterator ()Ljava/util/Iterator; hasNext ()Z next isDataSegmentId asUUID ()Ljava/util/UUID; add (Ljava/lang/Object;)Z com/google/common/collect/Queues
newArrayDeque ,(Ljava/lang/Iterable;)Ljava/util/ArrayDeque; flush isEmpty remove getMostSignificantBits getLeastSignificantBits
getSegment 5()Lorg/apache/jackrabbit/oak/plugins/segment/Segment; getReferencedIds ()Ljava/util/List; java/util/List contains nextLong org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; java/lang/Boolean
getBoolean (Ljava/lang/String;)Z :org/apache/jackrabbit/oak/cache/CacheLIRS$EvictionCallback ! v A | } ~ ? ? ? ? ? ? o ? ? ? q ? ? ? s ? ? ? i ? ? ? l ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?*? *? Y? ? * ? ? *? Y? ? *-?
6*? ?? *? ? Y*? S????*+? *?
Y? ? ? **? ? ? ? :? ?? ? 7? Y i? :*? *? ? ? i? !? "? #Y*? $? %? &? '? ? J | R h w # } ( 5 ? D J ? O ? ] ? g ? m ? s ? ? ? ? ? ? ? ? ? R + ? ? p ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? / ? ? ? ? + ? ? ? ? (? ? ? ? ? L
*+ ,? (? ?
? ? ?
? ?
? ?
? ? ? ? ? D *+ ? )? (? ?
? ? ? ? ? ? ? ? ? ? 2 *? ? *? ? ? ? ? ? ? ? ? E ? +Y*? *?
+? ,? ? ? ? ? ? ? ? ? ? ? <