org.apache.jackrabbit.oak.plugins.segment.Segment.class Maven / Gradle / Ivy
???? 3?
??
?? ?? ??
??
???
? ??
??? ??? ??
?
?? ?? ?? ?? ??? ??
?
?
???
?
??
?? ??
?? ???
!?
?? ??
??
!?
????
)??
)?
(?
)?
?
?
?
??
?
?
??
?
??
??
??
??
?? ??
??
???
)???
)??
)??
B?
?
?
??
????
?
?
??
Y
X
X
?
?
Y
Y
i
!
?" ?
#
n$ @? ??? %
{&'
}(
})
}*+,
?
Y
?-
?./
?0? @ ??
?12
?3 45
678
9: 4; ?< ?
?=
?>
??
?@A
?B
CD
4E
?F
{G
?H ?I
??J
?KLM
?N
?OPQ
?RSTUV
?WXY
?Z
?[
?*
??\
]^_ InnerClasses RECORD_ID_BYTES I
ConstantValue SEGMENT_REFERENCE_LIMIT ? RECORD_ALIGN_BITS MAX_SEGMENT_SIZE SMALL_LIMIT ? MEDIUM_LIMIT @? BLOB_ID_SMALL_LIMIT REF_COUNT_OFFSET ROOT_COUNT_OFFSET BLOBREF_COUNT_OFFSET tracker :Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker; id 5Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; data Ljava/nio/ByteBuffer; version :Lorg/apache/jackrabbit/oak/plugins/segment/SegmentVersion; refids 6[Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; strings $Ljava/util/concurrent/ConcurrentMap;
Deprecated Signature KLjava/util/concurrent/ConcurrentMap; RuntimeVisibleAnnotations Ljava/lang/Deprecated;
loadString !Lcom/google/common/base/Function; HLcom/google/common/base/Function; stringCache 7Lorg/apache/jackrabbit/oak/plugins/segment/StringCache; templates mLjava/util/concurrent/ConcurrentMap; DISABLE_TEMPLATE_CACHE Z accessed J decode (S)I Code LineNumberTable LocalVariableTable offset S encode (I)S align (II)I address boundary ?(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker;Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId;Ljava/nio/ByteBuffer;)V this 3Lorg/apache/jackrabbit/oak/plugins/segment/Segment; ?(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker;Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId;Ljava/nio/ByteBuffer;Lorg/apache/jackrabbit/oak/plugins/segment/SegmentVersion;)V segmentVersion B
StackMapTable_???` toHex ([B)Ljava/lang/String; e Ljava/io/IOException; bytes [B out 4Lorg/apache/commons/io/output/ByteArrayOutputStream;??a ?(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker;[B)V buffer getSegmentVersion <()Lorg/apache/jackrabbit/oak/plugins/segment/SegmentVersion; pos length getSegmentId 7()Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; getRefCount ()I getRootCount getRootType 9(I)Lorg/apache/jackrabbit/oak/plugins/segment/RecordType; index refCount
getRootOffset (I)I getSegmentInfo ()Ljava/lang/String; Ljavax/annotation/CheckForNull; getRefId 8(I)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; type Ljava/lang/String; delta refpos msb lsb refid M getReferencedIds ()Ljava/util/List; refcount ids Ljava/util/List; LocalVariableTypeTable GLjava/util/List;b I()Ljava/util/List; size getCacheSize ()J writeTo (Ljava/io/OutputStream;)V stream Ljava/io/OutputStream; channel 'Ljava/nio/channels/WritableByteChannel;c
Exceptions collectBlobReferences >(Lorg/apache/jackrabbit/oak/plugins/blob/ReferenceCollector;)V blob 7Lorg/apache/jackrabbit/oak/plugins/segment/SegmentBlob; i collector ;Lorg/apache/jackrabbit/oak/plugins/blob/ReferenceCollector; rootcount blobrefcount
blobrefposd readByte (I)B readShort readInt readLong (I)J readBytes (I[BII)V position d readRecordId 7(I)Lorg/apache/jackrabbit/oak/plugins/segment/RecordId; internalReadRecordId
readString H(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;)Ljava/lang/String; 4Lorg/apache/jackrabbit/oak/plugins/segment/RecordId; segmentId cachee (I)Ljava/lang/String; string list 6Lorg/apache/jackrabbit/oak/plugins/segment/ListRecord; 9Lorg/apache/jackrabbit/oak/plugins/segment/SegmentStream;%' readMap k(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;)Lorg/apache/jackrabbit/oak/plugins/segment/MapRecord; readTemplate j(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;)Lorg/apache/jackrabbit/oak/plugins/segment/Template; 7(I)Lorg/apache/jackrabbit/oak/plugins/segment/Template; template 4Lorg/apache/jackrabbit/oak/plugins/segment/Template;/ loadTemplate primaryId mixinId mixins [Ljava/lang/String; childNameId
properties =[Lorg/apache/jackrabbit/oak/plugins/segment/PropertyTemplate; head hasPrimaryType
hasMixinTypes zeroChildNodes manyChildNodes
mixinCount
propertyCount primaryType -Lorg/apache/jackrabbit/oak/api/PropertyState;
mixinTypes childNamefz} readPropsV10 A(II)[Lorg/apache/jackrabbit/oak/plugins/segment/PropertyTemplate; propertyNameId readPropsV11
propertyNames
readLength 7(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;)J internalReadLength toString rootid blobrefid b Ljava/io/StringWriter; writer Ljava/io/PrintWriter; segmentInfoIJ
access$000 H(Lorg/apache/jackrabbit/oak/plugins/segment/Segment;I)Ljava/lang/String; x0 x1
access$100 ()V
SourceFile Segment.java ?g`g ? ? ?? 3org/apache/jackrabbit/oak/plugins/segment/Segment$1 ?h ? ?ijk 8org/apache/jackrabbit/oak/plugins/segment/SegmentTracker ? ? 3org/apache/jackrabbit/oak/plugins/segment/SegmentId ? ?lmnop ? ? ? ? ? ? ? ? java/nio/ByteBuffer ? ?qrsUtu 3org/apache/jackrabbit/oak/plugins/segment/Segment$2 ?vwx ? ?yz ? ? 2org/apache/commons/io/output/ByteArrayOutputStream{|}~???(????? java/io/IOException java/lang/StringBuilder Error dumping segment: ???(?(????h???\w?? ? ?????%&ag bulk??@?@ java/lang/IllegalStateException RefId '?? ' doesn't exist in segment ?? . Creation date delta is ?? ms. ???Y????*+b????r>??????rc?? 5org/apache/jackrabbit/oak/plugins/segment/SegmentBlob 2org/apache/jackrabbit/oak/plugins/segment/RecordId ?? ???(d?? ??&\?s?`_??????@?@ 3org/apache/jackrabbit/oak/plugins/segment/Segment$3 ??e??????sk java/lang/String???Ys? ?? 4org/apache/jackrabbit/oak/plugins/segment/ListRecord ?? 7org/apache/jackrabbit/oak/plugins/segment/SegmentStream ???(?? String is too long: 3org/apache/jackrabbit/oak/plugins/segment/MapRecordprvr 2org/apache/jackrabbit/oak/plugins/segment/TemplateW&^_ jcr:primaryTypeab?????? jcr:mixinTypes??????-?????? ?? :org/apache/jackrabbit/oak/plugins/segment/PropertyTemplateTU??&?? ???_?Y java/io/StringWriter java/io/PrintWriter ?? Segment %s (%d bytes)%n java/lang/Object??'(
Info: %s%n J--------------------------------------------------------------------------?? reference %02x: %s%n root %d: %s at %04x%n blobref %d: %s at %04x%n %04x: ?? %02x ???? oak.segment.disableTemplateCache??? 1org/apache/jackrabbit/oak/plugins/segment/Segment 8org/apache/jackrabbit/oak/plugins/segment/SegmentVersion java/lang/Throwable java/util/List %java/nio/channels/WritableByteChannel 9org/apache/jackrabbit/oak/plugins/blob/ReferenceCollector 5org/apache/jackrabbit/oak/plugins/segment/StringCache +org/apache/jackrabbit/oak/api/PropertyState V_11 6(Lorg/apache/jackrabbit/oak/plugins/segment/Segment;)V $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; getStringCache 9()Lorg/apache/jackrabbit/oak/plugins/segment/StringCache; com/google/common/collect/Maps newConcurrentMap &()Ljava/util/concurrent/ConcurrentMap; isDataSegmentId ()Z get isValid (B)Z ?(Lorg/apache/jackrabbit/oak/plugins/segment/Segment;Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId;Ljava/nio/ByteBuffer;)V
checkState (ZLjava/lang/Object;)V fromByte =(B)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentVersion; org/apache/commons/io/HexDump dump ([BJLjava/io/OutputStream;I)V com/google/common/base/Charsets UTF_8 Ljava/nio/charset/Charset; java/nio/charset/Charset name &(Ljava/lang/String;)Ljava/lang/String; )org/apache/jackrabbit/oak/commons/IOUtils closeQuietly (Ljava/io/Closeable;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
getMessage newDataSegmentId wrap ([B)Ljava/nio/ByteBuffer;
setSegment checkPositionIndexes (III)V limit (Z)V getShort
checkArgument 4org/apache/jackrabbit/oak/plugins/segment/RecordType values 9()[Lorg/apache/jackrabbit/oak/plugins/segment/RecordType; java/lang/System currentTimeMillis getCreationTime (I)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; (Ljava/lang/String;)V getLong 9(JJ)Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId; com/google/common/collect/Lists newArrayListWithCapacity (I)Ljava/util/ArrayList; add (Ljava/lang/Object;)Z remaining isDirect duplicate ()Ljava/nio/ByteBuffer; java/nio/channels/Channels
newChannel ?(Ljava/io/OutputStream;)Ljava/nio/channels/WritableByteChannel; hasRemaining write (Ljava/nio/ByteBuffer;)I 9(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId;I)V 7(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;)V getBlobId addReference '(Ljava/lang/String;Ljava/lang/String;)V getInt (I)Ljava/nio/Buffer; ([BII)Ljava/nio/ByteBuffer;
getTracker <()Lorg/apache/jackrabbit/oak/plugins/segment/SegmentTracker;
getSegment 5()Lorg/apache/jackrabbit/oak/plugins/segment/Segment; getOffset getMostSignificantBits getLeastSignificantBits 8(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentId;)V getString 8(JJILcom/google/common/base/Function;)Ljava/lang/String; java/lang/Integer valueOf (I)Ljava/lang/Integer; "java/util/concurrent/ConcurrentMap putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ([BLjava/nio/charset/Charset;)V 8(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;I)V n(Lorg/apache/jackrabbit/oak/plugins/segment/RecordId;Lorg/apache/jackrabbit/oak/plugins/segment/ListRecord;J)V close "org/apache/jackrabbit/oak/api/Type NAME $Lorg/apache/jackrabbit/oak/api/Type; 7org/apache/jackrabbit/oak/plugins/memory/PropertyStates createProperty w(Ljava/lang/String;Ljava/lang/Object;Lorg/apache/jackrabbit/oak/api/Type;)Lorg/apache/jackrabbit/oak/api/PropertyState; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; NAMES ZERO_CHILD_NODES onOrAfter =(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentVersion;)Z ?(Lorg/apache/jackrabbit/oak/api/PropertyState;Lorg/apache/jackrabbit/oak/api/PropertyState;[Lorg/apache/jackrabbit/oak/plugins/segment/PropertyTemplate;Ljava/lang/String;)V java/lang/Math abs fromTag ((IZ)Lorg/apache/jackrabbit/oak/api/Type; :(ILjava/lang/String;Lorg/apache/jackrabbit/oak/api/Type;)V getEntry (Ljava/io/Writer;)V format <(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter; println (C)Ljava/io/PrintWriter; /(Ljava/lang/CharSequence;)Ljava/io/PrintWriter; java/lang/Boolean
getBoolean (Ljava/lang/String;)Z ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B ? ? , ? ? ? 1 ~x? ? ? ? ? ? ? ? ? / z?? ? ? ? ? ? ? ? ? @ `dd?~? ? ? ? ? ? ? ? ? ? ? W *+,-? ? ? ?
?
? ? * ? ? ? ? ? ? ? ? ? ?*? *? Y*? ? *+?
? ? *,?
?
? +? ? *? ? *? ? *? *+? ? ? ? *? ?
*? ? *-?
? ? ,? ? `-? 6-? 0? #-? a? -? K? ? ? ? ? Y*,-? ? **? ?
? *? ,S*? ? ? *? *? ? ? ^ ? ? ? ? &