Package | Description |
---|---|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
Modifier and Type | Method and Description |
---|---|
DfsPackDescription |
DfsPackDescription.clearPackStats()
Discard the pack statistics, if it was populated.
|
DfsPackDescription |
DfsPackParser.getPackDescription()
Get description of the imported pack, if one was made.
|
DfsPackDescription |
DfsPackFile.getPackDescription()
Get description that was originally used to configure this pack file.
|
DfsPackDescription |
DfsReftable.getPackDescription()
Get description that was originally used to configure this file.
|
DfsPackDescription |
DfsCachedPack.getPackDescription()
Get the description of the pack.
|
protected abstract DfsPackDescription |
DfsObjDatabase.newPack(DfsObjDatabase.PackSource source)
Generate a new unique name for a pack file.
|
protected DfsPackDescription |
InMemoryRepository.MemObjDatabase.newPack(DfsObjDatabase.PackSource source) |
protected DfsPackDescription |
DfsObjDatabase.newPack(DfsObjDatabase.PackSource source,
long estimatedPackSize)
Generate a new unique name for a pack file.
|
DfsPackDescription |
DfsPackDescription.setBlockSize(PackExt ext,
int blockSize)
Set blockSize of the file, in bytes.
|
DfsPackDescription |
DfsPackDescription.setDeltaCount(long cnt)
Set number of delta compressed objects in the pack.
|
DfsPackDescription |
DfsPackDescription.setEstimatedPackSize(long estimatedPackSize)
Set estimated size of the .pack file in bytes.
|
DfsPackDescription |
DfsPackDescription.setFileSize(PackExt ext,
long bytes)
Set size of the file in bytes.
|
DfsPackDescription |
DfsPackDescription.setIndexVersion(int version)
Set the version of the index file written.
|
DfsPackDescription |
DfsPackDescription.setLastModified(long timeMillis)
Set time the pack was created, in milliseconds.
|
DfsPackDescription |
DfsPackDescription.setMaxUpdateIndex(long max)
Set maxUpdateIndex for the reftable.
|
DfsPackDescription |
DfsPackDescription.setMinUpdateIndex(long min)
Set minUpdateIndex for the reftable.
|
DfsPackDescription |
DfsPackDescription.setObjectCount(long cnt)
Set number of objects in the pack.
|
DfsPackDescription |
DfsPackDescription.setPackSource(DfsObjDatabase.PackSource source)
Set the source of the pack.
|
Modifier and Type | Method and Description |
---|---|
List<DfsPackDescription> |
DfsGarbageCollector.getNewPacks()
Get new packs created by this compaction.
|
List<DfsPackDescription> |
DfsPackCompactor.getNewPacks()
Get new packs created by this compaction.
|
Set<DfsPackDescription> |
DfsGarbageCollector.getSourcePacks()
Get all of the source packs that fed into this compaction.
|
Collection<DfsPackDescription> |
DfsPackCompactor.getSourcePacks()
Get all of the source packs that fed into this compaction.
|
protected abstract List<DfsPackDescription> |
DfsObjDatabase.listPacks()
List the available pack files.
|
protected List<DfsPackDescription> |
InMemoryRepository.MemObjDatabase.listPacks() |
static Comparator<DfsPackDescription> |
DfsPackDescription.objectLookupComparator()
Comparator for packs when looking up objects in indexes.
|
static Comparator<DfsPackDescription> |
DfsPackDescription.objectLookupComparator(Comparator<DfsObjDatabase.PackSource> packSourceComparator)
Comparator for packs when looking up objects in indexes.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ReadableChannel |
DfsObjDatabase.openFile(DfsPackDescription desc,
PackExt ext)
Open a pack, pack index, or other related file for reading.
|
protected ReadableChannel |
InMemoryRepository.MemObjDatabase.openFile(DfsPackDescription desc,
PackExt ext) |
protected abstract DfsOutputStream |
DfsObjDatabase.writeFile(DfsPackDescription desc,
PackExt ext)
Open a pack, pack index, or other related file for writing.
|
protected DfsOutputStream |
InMemoryRepository.MemObjDatabase.writeFile(DfsPackDescription desc,
PackExt ext) |
Modifier and Type | Method and Description |
---|---|
protected void |
DfsObjDatabase.commitPack(Collection<DfsPackDescription> desc,
Collection<DfsPackDescription> replaces)
Commit a pack and index pair that was written to the DFS.
|
protected void |
DfsObjDatabase.commitPack(Collection<DfsPackDescription> desc,
Collection<DfsPackDescription> replaces)
Commit a pack and index pair that was written to the DFS.
|
protected abstract void |
DfsObjDatabase.commitPackImpl(Collection<DfsPackDescription> desc,
Collection<DfsPackDescription> replaces)
Implementation of pack commit.
|
protected abstract void |
DfsObjDatabase.commitPackImpl(Collection<DfsPackDescription> desc,
Collection<DfsPackDescription> replaces)
Implementation of pack commit.
|
protected void |
InMemoryRepository.MemObjDatabase.commitPackImpl(Collection<DfsPackDescription> desc,
Collection<DfsPackDescription> replace) |
protected void |
InMemoryRepository.MemObjDatabase.commitPackImpl(Collection<DfsPackDescription> desc,
Collection<DfsPackDescription> replace) |
protected abstract void |
DfsObjDatabase.rollbackPack(Collection<DfsPackDescription> desc)
Try to rollback a pack creation.
|
protected void |
InMemoryRepository.MemObjDatabase.rollbackPack(Collection<DfsPackDescription> desc) |
void |
DfsObjDatabase.setPackComparator(Comparator<DfsPackDescription> packComparator)
Set the comparator used when searching for objects across packs.
|
Constructor and Description |
---|
DfsReftable(DfsBlockCache cache,
DfsPackDescription desc)
Construct a reader for an existing reftable.
|
DfsReftable(DfsPackDescription desc)
Construct a reader for an existing reftable.
|
Copyright © 2019 Eclipse JGit Project. All rights reserved.