org.eclipse.jgit.storage.dht
Class PackChunk
java.lang.Object
org.eclipse.jgit.storage.dht.PackChunk
public final class PackChunk
- extends java.lang.Object
Chunk of object data, stored under a ChunkKey
.
A chunk typically contains thousands of objects, compressed in the Git native
pack file format. Its associated ChunkIndex
provides offsets for each
object's header and compressed data.
Chunks (and their indexes) are opaque binary blobs meant only to be read by
the Git implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getChunkKey
public ChunkKey getChunkKey()
- Returns:
- unique name of this chunk in the database.
getIndex
public ChunkIndex getIndex()
- Returns:
- index describing the objects stored within this chunk.
getMeta
public GitStore.ChunkMeta getMeta()
- Returns:
- inline meta information, or null if no data was necessary.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011. All Rights Reserved.