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.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 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.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.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsPackDescriptionModifier and TypeMethodDescriptionprotected DfsPackFileDfsObjDatabase.createDfsPackFile(DfsBlockCache cache, DfsPackDescription dsc) Create instances of DfsPackFile Implementors can decide to construct or wrap DfsPackFile in different ways.DfsObjDatabase.getPackBitmapIndexWriter(DfsPackDescription pack) Returns a writer to store the bitmap 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) protected 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) Method parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type DfsPackDescriptionModifier and TypeMethodDescriptionprotected 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) protected abstract voidDfsObjDatabase.rollbackPack(Collection<DfsPackDescription> desc) Try to rollback a pack creation.protected voidInMemoryRepository.MemObjDatabase.rollbackPack(Collection<DfsPackDescription> desc) voidDfsObjDatabase.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 DfsPackDescriptionModifierConstructorDescriptionDfsPackFile(DfsBlockCache cache, DfsPackDescription desc, DfsPackFile.PackBitmapIndexLoader bitmapLoader) Create an instance of DfsPackFile with a custom bitmap loaderDfsReftable(DfsBlockCache cache, DfsPackDescription desc) Construct a reader for an existing reftable.Construct a reader for an existing reftable.