Top Description Fields Constructors Methods
org.eclipse.jgit.notes

pack-priv abstract Class InMemoryNoteBucket

extends NoteBucket
Class Inheritance
Known Direct Subclasses
org.eclipse.jgit.notes.LeafBucket, org.eclipse.jgit.notes.FanoutBucket

A note bucket that has been loaded into the process.

Field Summary

Modifier and TypeField and Description
pack-priv NonNoteEntry
nonNotes

Chain of non-note tree entries found at this path in the tree.

pack-priv final int
prefixLen

Number of leading digits that leads to this bucket in the note path.

Constructor Summary

AccessConstructor and Description
pack-priv
InMemoryNoteBucket(int prefixLen)

Method Summary

Modifier and TypeMethod and Description
pack-priv abstract InMemoryNoteBucket
append(Note note)

Inherited from org.eclipse.jgit.notes.NoteBucket:
estimateSizegetNotegetTreeIditeratorsetwriteTree

Field Detail

nonNotesback to summary
pack-priv NonNoteEntry nonNotes

Chain of non-note tree entries found at this path in the tree. During parsing of a note tree into the in-memory representation, NoteParser keeps track of all non-note tree entries and stores them here as a sorted linked list. That list can be merged back with the note data that is held by the subclass, allowing the tree to be recreated.

prefixLenback to summary
pack-priv final int prefixLen

Number of leading digits that leads to this bucket in the note path. This is counted in terms of hex digits, not raw bytes. Each bucket level is typically 2 higher than its parent, placing about 256 items in each level of the tree.

Constructor Detail

InMemoryNoteBucketback to summary
pack-priv InMemoryNoteBucket(int prefixLen)

Method Detail

appendback to summary
pack-priv abstract InMemoryNoteBucket append(Note note)