Class InMemoryNoteBucket

java.lang.Object
org.eclipse.jgit.notes.NoteBucket
org.eclipse.jgit.notes.InMemoryNoteBucket
Direct Known Subclasses:
FanoutBucket, LeafBucket

abstract class InMemoryNoteBucket extends NoteBucket
A note bucket that has been loaded into the process.
  • Field Details

    • prefixLen

      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.
    • nonNotes

      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.
  • Constructor Details

    • InMemoryNoteBucket

      InMemoryNoteBucket(int prefixLen)
  • Method Details