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
Methods in org.eclipse.jgit.internal.storage.dfs that return DfsPackDescriptionModifier and TypeMethodDescriptionDfsPackDescription.clearPackStats()Discard the pack statistics, if it was populated.DfsPackDescription.getMultiPackIndexBase()The base if this multipack indexDfsCachedPack.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 DfsPackDescriptionDfsObjDatabase.newPack(DfsObjDatabase.PackSource source) Generate a new unique name for a pack file.protected DfsPackDescriptionDfsObjDatabase.newPack(DfsObjDatabase.PackSource source, long estimatedPackSize) Generate a new unique name for a pack file.protected DfsPackDescriptionInMemoryRepository.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.static DfsPackDescriptionDfsMidxWriter.writeMidx(ProgressMonitor pm, DfsObjDatabase objdb, List<DfsPackFile> packs, DfsPackDescription base, PackConfig packConfig) Create a pack with the multipack indexMethods in org.eclipse.jgit.internal.storage.dfs that return types with arguments of type DfsPackDescriptionModifier and TypeMethodDescriptionMidxDescList.findAllCoveringMidxs(Collection<DfsPackDescription> queryPacks) Return the union of midxs that cover the query packs (directly or indirectly).MidxDescList.findAllCoveringMidxs(DfsPackDescription pack) Wrapper overMidxDescList.findAllCoveringMidxs(Collection)for the testsDfsPackDescription.getCoveredPacks()Packs "included" in this pack (e.g because this is a multi-pack index)DfsGarbageCollector.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.static List<DfsPackDescription>MidxPackFilter.skipMidxs(List<DfsPackDescription> packs) Reorganize the flat list of packs removing the midxsDfsPackCompactor.PreCommitHook.Packs.toCommit()Returns the value of thetoCommitrecord component.DfsPackCompactor.PreCommitHook.Packs.toRemove()Returns the value of thetoRemoverecord component.static List<DfsPackDescription>MidxPackFilter.useMidx(List<DfsPackDescription> packs) Remove from the list any packs covered by midxs.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsPackDescriptionModifier and TypeMethodDescriptionstatic DfsPackFileMidxDfsPackFileMidx.create(DfsBlockCache cache, DfsPackDescription desc, List<DfsPackFile> requiredPacks, DfsPackFileMidx base) Create a midx packstatic MidxDescListMidxDescList.create(DfsPackDescription[] descs) Wrap the list of pack descriptions into a MidxDescListDfsObjDatabase.createDfsPackFile(DfsBlockCache cache, DfsPackDescription dsc) Create instances of DfsPackFileprotected DfsPackFileMidxDfsObjDatabase.createDfsPackFileMidx(DfsBlockCache cache, DfsPackDescription dsc, List<DfsPackDescription> containsReftables) Create instances of DfsPackFileMidxMidxDescList.findAllCoveringMidxs(DfsPackDescription pack) Wrapper overMidxDescList.findAllCoveringMidxs(Collection)for the testsDfsObjDatabase.getPackBitmapIndexWriter(DfsPackDescription pack) Returns a writer to store the bitmap index in this object database.DfsObjDatabase.getPackIndexWriter(DfsPackDescription pack, int indexVersion) Returns a writer to store the pack index in this object database.booleanDfsPackFile.PackBitmapIndexLoader.hasBitmaps(DfsPackDescription desc) Does this pack has bitmaps associated?booleanDfsPackFile.PackBitmapIndexLoader.keepInDfs(DfsPackDescription desc) If the returned instance must be kept in DFS cache It should be true when the instance is expensive to load and can be reused.protected abstract ReadableChannelDfsObjDatabase.openFile(DfsPackDescription desc, PackExt ext) Open a pack, pack index, or other related file for reading.protected ReadableChannelInMemoryRepository.MemObjDatabase.openFile(DfsPackDescription desc, PackExt ext) voidDfsPackDescription.setMultiPackIndexBase(DfsPackDescription desc) Set the base of this multipack indexprotected abstract DfsOutputStreamDfsObjDatabase.writeFile(DfsPackDescription desc, PackExt ext) Open a pack, pack index, or other related file for writing.protected DfsOutputStreamInMemoryRepository.MemObjDatabase.writeFile(DfsPackDescription desc, PackExt ext) static DfsPackDescriptionDfsMidxWriter.writeMidx(ProgressMonitor pm, DfsObjDatabase objdb, List<DfsPackFile> packs, DfsPackDescription base, PackConfig packConfig) Create a pack with the multipack indexMethod parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type DfsPackDescriptionModifier and TypeMethodDescriptionDfsPackCompactor.PreCommitHook.apply(List<DfsPackDescription> newPacks, Set<DfsPackDescription> removedPacks) Apply the hook.DfsPackCompactor.PreCommitHook.apply(List<DfsPackDescription> newPacks, Set<DfsPackDescription> removedPacks) Apply the hook.protected voidDfsObjDatabase.commitPack(Collection<DfsPackDescription> desc, Collection<DfsPackDescription> replaces) Commit a pack and index pair that was written to the DFS.protected abstract voidDfsObjDatabase.commitPackImpl(Collection<DfsPackDescription> desc, Collection<DfsPackDescription> replaces) Implementation of pack commit.protected voidInMemoryRepository.MemObjDatabase.commitPackImpl(Collection<DfsPackDescription> desc, Collection<DfsPackDescription> replace) static MidxDescListMidxDescList.create(List<DfsPackDescription> descs) Wrap the packs list into amidxDescListprotected DfsPackFileMidxDfsObjDatabase.createDfsPackFileMidx(DfsBlockCache cache, DfsPackDescription dsc, List<DfsPackDescription> containsReftables) Create instances of DfsPackFileMidxMidxDescList.findAllCoveringMidxs(Collection<DfsPackDescription> queryPacks) Return the union of midxs that cover the query packs (directly or indirectly).protected abstract voidDfsObjDatabase.rollbackPack(Collection<DfsPackDescription> desc) Try to rollback a pack creation.protected voidInMemoryRepository.MemObjDatabase.rollbackPack(Collection<DfsPackDescription> desc) voidDfsPackDescription.setCoveredPacks(List<? extends DfsPackDescription> coveredPacks) Set the list of packs required by this one (usually for multi-pack index)voidDfsObjDatabase.setPackComparator(Comparator<DfsPackDescription> packComparator) Set the comparator used when searching for objects across packs.static List<DfsPackDescription>MidxPackFilter.skipMidxs(List<DfsPackDescription> packs) Reorganize the flat list of packs removing the midxsstatic List<DfsPackDescription>MidxPackFilter.useMidx(List<DfsPackDescription> packs) Remove from the list any packs covered by midxs.Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsPackDescriptionModifierConstructorDescriptionCachedStreamIndexFactory(DfsBlockCache cache, DfsPackDescription desc) An index factoryCachedStreamPackIndexes(DfsBlockCache cache, DfsPackDescription desc) An index factoryDfsPackFile(DfsBlockCache cache, DfsPackDescription desc, DfsPackFile.PackBitmapIndexLoader bitmapLoader, DfsPackFile.IndexFactory indexFactory) Create an instance of DfsPackFile with a custom bitmap loaderprotectedDfsPackFileMidx(DfsBlockCache cache, DfsPackDescription desc) Default constructorDfsReftable(DfsBlockCache cache, DfsPackDescription desc) Construct a reader for an existing reftable.Construct a reader for an existing reftable.Constructor parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type DfsPackDescriptionModifierConstructorDescriptionPacks(List<DfsPackDescription> toCommit, List<DfsPackDescription> toRemove) Creates an instance of aPacksrecord class.