Uses of Class
org.eclipse.jgit.internal.storage.dfs.DfsPackDescription
Packages that use DfsPackDescription
Package
Description
Distributed file system based repository storage.
-
Uses of DfsPackDescription in org.eclipse.jgit.internal.storage.dfs
Subclasses of DfsPackDescription in org.eclipse.jgit.internal.storage.dfsFields in org.eclipse.jgit.internal.storage.dfs declared as DfsPackDescriptionModifier and TypeFieldDescription(package private) final DfsPackDescription
BlockBasedFile.desc
Description of the associated pack file's storage.private final DfsPackDescription
BlockBasedFile.LazyChannel.desc
private DfsPackDescription
DfsPackCompactor.outDesc
(package private) DfsPackDescription
DfsInserter.packDsc
private DfsPackDescription
DfsPackParser.packDsc
Name of the pack file, computed inDfsPackParser.onPackHeader(long)
.Fields in org.eclipse.jgit.internal.storage.dfs with type parameters of type DfsPackDescriptionModifier and TypeFieldDescriptionprivate final List<DfsPackDescription>
DfsGarbageCollector.newPackDesc
private Comparator<DfsPackDescription>
DfsObjDatabase.packComparator
private List<DfsPackDescription>
InMemoryRepository.MemObjDatabase.packs
Methods in org.eclipse.jgit.internal.storage.dfs that return DfsPackDescriptionModifier and TypeMethodDescriptionDfsPackDescription.clearPackStats()
Discard the pack statistics, if it was populated.DfsCachedPack.getPackDescription()
Get the description of the pack.DfsPackFile.getPackDescription()
Get description that was originally used to configure this pack file.DfsPackParser.getPackDescription()
Get description of the imported pack, if one was made.DfsReftable.getPackDescription()
Get description that was originally used to configure this file.protected abstract DfsPackDescription
DfsObjDatabase.newPack
(DfsObjDatabase.PackSource source) Generate a new unique name for a pack file.protected DfsPackDescription
DfsObjDatabase.newPack
(DfsObjDatabase.PackSource source, long estimatedPackSize) Generate a new unique name for a pack file.protected DfsPackDescription
InMemoryRepository.MemObjDatabase.newPack
(DfsObjDatabase.PackSource source) DfsPackDescription.setBlockSize
(PackExt ext, int blockSize) Set blockSize of the file, in bytes.DfsPackDescription.setDeltaCount
(long cnt) Set number of delta compressed objects in the pack.DfsPackDescription.setEstimatedPackSize
(long estimatedPackSize) Set estimated size of the .pack file in bytes.DfsPackDescription.setFileSize
(PackExt ext, long bytes) Set size of the file in bytes.DfsPackDescription.setIndexVersion
(int version) Set the version of the index file written.DfsPackDescription.setLastModified
(long timeMillis) Set time the pack was created, in milliseconds.DfsPackDescription.setMaxUpdateIndex
(long max) Set maxUpdateIndex for the reftable.DfsPackDescription.setMinUpdateIndex
(long min) Set minUpdateIndex for the reftable.DfsPackDescription.setObjectCount
(long cnt) Set number of objects in the pack.DfsPackDescription.setPackSource
(DfsObjDatabase.PackSource source) Set the source of the pack.(package private) DfsPackDescription
DfsPackDescription.setPackStats
(PackStatistics stats) private DfsPackDescription
DfsGarbageCollector.writePack
(DfsObjDatabase.PackSource source, PackWriter pw, ProgressMonitor pm, long estimatedPackSize) Methods in org.eclipse.jgit.internal.storage.dfs that return types with arguments of type DfsPackDescriptionModifier and TypeMethodDescriptionDfsGarbageCollector.getNewPacks()
Get new packs created by this compaction.DfsPackCompactor.getNewPacks()
Get new packs created by this compaction.DfsGarbageCollector.getSourcePacks()
Get all of the source packs that fed into this compaction.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.private static Map<DfsPackDescription,
DfsPackFile> DfsObjDatabase.packMap
(DfsObjDatabase.PackList old) (package private) static Comparator<DfsPackDescription>
DfsPackDescription.reftableComparator()
private static Map<DfsPackDescription,
DfsReftable> DfsObjDatabase.reftableMap
(DfsObjDatabase.PackList old) (package private) static Comparator<DfsPackDescription>
DfsPackDescription.reuseComparator()
private Set<DfsPackDescription>
DfsGarbageCollector.toPrune()
private Collection<DfsPackDescription>
DfsPackCompactor.toPrune()
private Set<DfsPackDescription>
DfsReftableBatchRefUpdate.toPruneTopOfStack()
Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsPackDescriptionModifier and TypeMethodDescription(package private) void
DfsObjDatabase.addReftable
(DfsPackDescription add, Set<DfsPackDescription> remove) 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) private boolean
DfsGarbageCollector.packIsCoalesceableGarbage
(DfsPackDescription d, long now) private boolean
DfsGarbageCollector.packIsExpiredGarbage
(DfsPackDescription d, long now) private boolean
DfsReftableBatchRefUpdate.packOnlyContainsReftable
(DfsPackDescription desc) 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) private static void
DfsPackCompactor.writeIndex
(DfsObjDatabase objdb, DfsPackDescription pack, PackWriter pw) private static void
DfsPackCompactor.writePack
(DfsObjDatabase objdb, DfsPackDescription pack, PackWriter pw, ProgressMonitor pm) (package private) PackIndex
DfsInserter.writePackIndex
(DfsPackDescription pack, byte[] packHash, List<PackedObjectInfo> list) private void
DfsGarbageCollector.writeReftable
(DfsPackDescription pack) private void
DfsGarbageCollector.writeReftable
(DfsPackDescription pack, Collection<Ref> refs) Method parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type DfsPackDescriptionModifier and TypeMethodDescription(package private) void
DfsObjDatabase.addReftable
(DfsPackDescription add, Set<DfsPackDescription> remove) 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 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.Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsPackDescriptionModifierConstructorDescription(package private)
BlockBasedFile
(DfsBlockCache cache, DfsPackDescription desc, PackExt ext) (package private)
DfsPackFile
(DfsBlockCache cache, DfsPackDescription desc) Construct a reader for an existing, packfile.DfsReftable
(DfsBlockCache cache, DfsPackDescription desc) Construct a reader for an existing reftable.Construct a reader for an existing reftable.(package private)
LazyChannel
(DfsReader ctx, DfsPackDescription desc, PackExt ext)