Class ReftableWriter.Section
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.reftable.ReftableWriter.Section
-
- Enclosing class:
- ReftableWriter
private class ReftableWriter.Section extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) long
bytes
(package private) long
entryCnt
(package private) long
firstBlockPosition
(package private) ReftableWriter.IndexBuilder
idx
-
Constructor Summary
Constructors Constructor Description Section(byte keyType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
beginBlock(BlockWriter.Entry entry)
(package private) void
finishSectionMaybeWriteIndex()
(package private) void
flushCurBlock()
(package private) long
write(BlockWriter.Entry entry)
-
-
-
Field Detail
-
idx
final ReftableWriter.IndexBuilder idx
-
firstBlockPosition
final long firstBlockPosition
-
entryCnt
long entryCnt
-
bytes
long bytes
-
-
Method Detail
-
write
long write(BlockWriter.Entry entry) throws java.io.IOException
- Throws:
java.io.IOException
-
beginBlock
private void beginBlock(BlockWriter.Entry entry) throws BlockSizeTooSmallException
- Throws:
BlockSizeTooSmallException
-
flushCurBlock
void flushCurBlock() throws java.io.IOException
- Throws:
java.io.IOException
-
finishSectionMaybeWriteIndex
void finishSectionMaybeWriteIndex() throws java.io.IOException
- Throws:
java.io.IOException
-
-