Uses of Class
org.eclipse.jgit.internal.storage.file.PackFile
-
Packages that use PackFile Package Description org.eclipse.jgit.internal.storage.file File based repository storage. -
-
Uses of PackFile in org.eclipse.jgit.internal.storage.file
Fields in org.eclipse.jgit.internal.storage.file declared as PackFile Modifier and Type Field Description private PackFileObjectDirectoryPackParser. newPackThe pack that was created, if parsing was successful.protected PackFileByteWindow. packprivate PackFileLargePackedWholeObject. pack(package private) PackFileLocalObjectRepresentation. pack(package private) PackFileLocalObjectToPack. packPack to reuse compressed data from, otherwise null.private PackFilePackInputStream. packprivate PackFileWindowCache.SoftRef. packprivate PackFileWindowCache.StrongRef. packprivate PackFile[]LocalCachedPack. packs(package private) PackFile[]ObjectDirectory.PackList. packsAll known packs, sorted bySORT.(package private) PackFileDeltaBaseCache.Slot. providerFields in org.eclipse.jgit.internal.storage.file with type parameters of type PackFile Modifier and Type Field Description static java.util.Comparator<PackFile>PackFile. SORTSorts PackFiles to be most recently created to least recently created.Methods in org.eclipse.jgit.internal.storage.file that return PackFile Modifier and Type Method Description PackFileWindowCache.PageRef. getPack()Get the packfile the referenced cache page is allocated forPackFileWindowCache.SoftRef. getPack()PackFileWindowCache.StrongRef. getPack()private PackFileLocalCachedPack. getPackFile(java.lang.String packName)PackFileObjectDirectoryPackParser. getPackFile()Get the importedPackFile.private PackFile[]LocalCachedPack. getPacks()(package private) PackFileCachedObjectDirectory. openPack(java.io.File pack)(package private) abstract PackFileFileObjectDatabase. openPack(java.io.File pack)PackFileObjectDirectory. openPack(java.io.File pack)private PackFileGC. writePack(java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<ObjectId> tags, java.util.Set<ObjectId> tagTargets, java.util.List<ObjectIdSet> excludeObjects)Methods in org.eclipse.jgit.internal.storage.file that return types with arguments of type PackFile Modifier and Type Method Description private java.util.Collection<PackFile>GC. doGc()java.util.Collection<PackFile>GC. gc()Runs a garbage collector on aFileRepository.(package private) java.util.Collection<PackFile>CachedObjectDirectory. getPacks()(package private) abstract java.util.Collection<PackFile>FileObjectDatabase. getPacks()java.util.Collection<PackFile>ObjectDirectory. getPacks()java.util.Collection<PackFile>GC. repack()Packs all objects which reachable from any of the heads into one pack file.private static java.util.Map<java.lang.String,PackFile>ObjectDirectory. reuseMap(ObjectDirectory.PackList old)Methods in org.eclipse.jgit.internal.storage.file with parameters of type PackFile Modifier and Type Method Description private voidWindowCache. close(PackFile pack)(package private) booleanByteWindow. contains(PackFile neededFile, long neededPos)(package private) intWindowCursor. copy(PackFile pack, long position, byte[] dstbuf, int dstoff, int cnt)Copy bytes from the window to a caller supplied buffer.(package private) voidWindowCursor. copyPackAsIs(PackFile pack, long length, PackOutputStream out)private WindowCache.PageRef<ByteWindow>WindowCache. createRef(PackFile p, long o, ByteWindow v)(package private) DeltaBaseCache.EntryDeltaBaseCache. get(PackFile pack, long position)(package private) static ByteWindowWindowCache. get(PackFile pack, long offset)private ByteWindowWindowCache. getOrLoad(PackFile pack, long position)Lookup a cached object, creating and loading it if it doesn't exist.private voidObjectDirectory. handlePackError(java.io.IOException e, PackFile p)private static intObjectDirectory. indexOf(PackFile[] list, PackFile pack)(package private) intWindowCursor. inflate(PackFile pack, long position, byte[] dstbuf, boolean headerOnly)Inflate a region of the pack starting atposition.private voidObjectDirectory. insertPack(PackFile pf)private ByteWindowWindowCache. load(PackFile pack, long offset)private WindowCache.LockWindowCache. lock(PackFile pack, long position)private voidGC. loosen(ObjectDirectoryInserter inserter, ObjectReader reader, PackFile pack, java.util.HashSet<ObjectId> existing)Loosen objects in a pack file which are not also in the newly-created pack files.(package private) static LocalObjectRepresentationLocalObjectRepresentation. newDelta(PackFile f, long p, long n, long base)(package private) static LocalObjectRepresentationLocalObjectRepresentation. newDelta(PackFile f, long p, long n, ObjectId base)(package private) static LocalObjectRepresentationLocalObjectRepresentation. newWhole(PackFile f, long p, long length)(package private) voidWindowCursor. pin(PackFile pack, long position)(package private) static voidWindowCache. purge(PackFile pack)(package private) ByteArrayWindowWindowCursor. quickCopy(PackFile p, long pos, long cnt)voidWindowCache.StatsRecorder. recordOpenBytes(PackFile pack, int delta)Record cached bytesvoidWindowCache.StatsRecorderImpl. recordOpenBytes(PackFile pack, int delta)private voidWindowCache. removeAll(PackFile pack)Clear all entries related to a single file.private voidObjectDirectory. removePack(PackFile deadPack)private static java.lang.StringWindowCache.StatsRecorderImpl. repositoryId(PackFile pack)private ByteWindowWindowCache. scan(WindowCache.Entry n, PackFile pack, long position)private intWindowCache. slot(PackFile pack, long position)(package private) voidDeltaBaseCache. store(PackFile pack, long position, byte[] data, int objectType)Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type PackFile Modifier and Type Method Description private voidGC. deleteOldPacks(java.util.Collection<PackFile> oldPacks, java.util.Collection<PackFile> newPacks)Delete old pack files.Constructors in org.eclipse.jgit.internal.storage.file with parameters of type PackFile Constructor Description ByteArrayWindow(PackFile pack, long o, byte[] b)ByteBufferWindow(PackFile pack, long o, java.nio.ByteBuffer b)ByteWindow(PackFile p, long s, int n)Constructor for ByteWindow.LargePackedWholeObject(int type, long size, long objectOffset, int headerLength, PackFile pack, FileObjectDatabase db)PackInputStream(PackFile pack, long pos, WindowCursor wc)PackList(FileSnapshot monitor, PackFile[] packs)SoftRef(PackFile pack, long position, ByteWindow v, WindowCache.SoftCleanupQueue queue)StrongRef(PackFile pack, long position, ByteWindow v, WindowCache.CleanupQueue queue)Constructor parameters in org.eclipse.jgit.internal.storage.file with type arguments of type PackFile Constructor Description LocalCachedPack(java.util.List<PackFile> packs)
-