Package | Description |
---|---|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
Modifier and Type | Field and Description |
---|---|
private DfsReader |
BlockBasedFile.LazyChannel.ctx |
private DfsReader |
DfsGarbageCollector.ctx |
private DfsReader |
DfsInserter.Reader.ctx |
private DfsReader |
DfsReftable.CacheSource.ctx |
private DfsReader |
DfsReftableDatabase.ctx |
(package private) DfsReader |
PackInputStream.ctx |
Modifier and Type | Method and Description |
---|---|
DfsReader |
DfsObjDatabase.newReader()
Create a new
ObjectReader to read existing objects. |
Modifier and Type | Method and Description |
---|---|
private void |
DfsPackCompactor.addObjectsToPack(PackWriter pw,
DfsReader ctx,
ProgressMonitor pm) |
private void |
DfsPackCompactor.compactPacks(DfsReader ctx,
ProgressMonitor pm) |
private void |
DfsPackCompactor.compactReftables(DfsReader ctx) |
(package private) void |
DfsPackFile.copyAsIs(PackOutputStream out,
DfsObjectToPack src,
boolean validate,
DfsReader ctx) |
(package private) void |
DfsCachedPack.copyAsIs(PackOutputStream out,
DfsReader ctx) |
(package private) void |
DfsPackFile.copyPackAsIs(PackOutputStream out,
DfsReader ctx) |
private void |
DfsPackFile.copyPackThroughCache(PackOutputStream out,
DfsReader ctx,
ReadableChannel rc) |
private byte[] |
DfsPackFile.decompress(long position,
int sz,
DfsReader ctx) |
private long |
DfsPackFile.findDeltaBase(DfsReader ctx,
ObjectId baseId) |
(package private) long |
DfsPackFile.findOffset(DfsReader ctx,
AnyObjectId id) |
(package private) ObjectLoader |
DfsPackFile.get(DfsReader ctx,
AnyObjectId id)
Get an object from this pack.
|
(package private) PackBitmapIndex |
DfsPackFile.getBitmapIndex(DfsReader ctx) |
(package private) byte[] |
DfsPackFile.getDeltaHeader(DfsReader wc,
long pos) |
(package private) long |
DfsPackFile.getObjectCount(DfsReader ctx)
Obtain the total number of objects available in this pack.
|
(package private) long |
DfsPackFile.getObjectSize(DfsReader ctx,
AnyObjectId id) |
(package private) long |
DfsPackFile.getObjectSize(DfsReader ctx,
long pos) |
(package private) int |
DfsPackFile.getObjectType(DfsReader ctx,
long pos) |
(package private) DfsBlock |
DfsBlockCache.getOrLoad(BlockBasedFile file,
long position,
DfsReader ctx,
DfsBlockCache.ReadableChannelSupplier fileChannel)
Look up a cached object, creating and loading it if it doesn't exist.
|
(package private) DfsBlock |
BlockBasedFile.getOrLoadBlock(long pos,
DfsReader ctx) |
PackIndex |
DfsPackFile.getPackIndex(DfsReader ctx)
Get the PackIndex for this PackFile.
|
(package private) PackReverseIndex |
DfsPackFile.getReverseIdx(DfsReader ctx) |
boolean |
DfsPackFile.hasObject(DfsReader ctx,
AnyObjectId id)
Check if an object is stored within this pack.
|
private PackIndex |
DfsPackFile.idx(DfsReader ctx) |
(package private) byte[] |
DfsInserter.PackStream.inflate(DfsReader ctx,
long pos,
int len) |
(package private) ObjectLoader |
DfsPackFile.load(DfsReader ctx,
long pos) |
private DfsBlockCache.Ref<PackBitmapIndex> |
DfsPackFile.loadBitmapIndex(DfsReader ctx,
DfsStreamKey bitmapKey,
PackIndex idx,
PackReverseIndex revidx) |
private DfsBlockCache.Ref<PackIndex> |
DfsPackFile.loadPackIndex(DfsReader ctx,
DfsStreamKey idxKey) |
ReftableReader |
DfsReftable.open(DfsReader ctx)
Open reader on the reftable.
|
static DfsReftableStack |
DfsReftableStack.open(DfsReader ctx,
java.util.List<DfsReftable> files)
Opens a stack of tables for reading.
|
private void |
DfsPackFile.readFully(long position,
byte[] dstbuf,
int dstoff,
int cnt,
DfsReader ctx) |
(package private) DfsBlock |
BlockBasedFile.readOneBlock(long pos,
DfsReader ctx,
ReadableChannel rc) |
(package private) void |
DfsPackFile.representation(DfsObjectRepresentation r,
long pos,
DfsReader ctx,
PackReverseIndex rev) |
(package private) void |
DfsPackFile.resolve(DfsReader ctx,
java.util.Set<ObjectId> matches,
AbbreviatedObjectId id,
int matchLimit) |
private java.util.List<DfsPackCompactor.ObjectIdWithOffset> |
DfsPackCompactor.toInclude(DfsPackFile src,
DfsReader ctx) |
private void |
DfsFsck.verifyPack(ProgressMonitor pm,
FsckError errors,
DfsReader ctx,
DfsPackFile pack,
ReadableChannel ch) |
Constructor and Description |
---|
CacheSource(DfsReftable file,
DfsBlockCache cache,
DfsReader ctx) |
DeltaBaseCache(DfsReader reader) |
LazyChannel(DfsReader ctx,
DfsPackDescription desc,
PackExt ext) |
PackInputStream(DfsPackFile pack,
long pos,
DfsReader ctx) |