Uses of Class
org.eclipse.jgit.internal.storage.file.Pack
-
Packages that use Pack Package Description org.eclipse.jgit.internal.storage.file File based repository storage. -
-
Uses of Pack in org.eclipse.jgit.internal.storage.file
Fields in org.eclipse.jgit.internal.storage.file declared as Pack Modifier and Type Field Description private PackObjectDirectoryPackParser. newPackThe pack that was created, if parsing was successful.protected PackByteWindow. packprivate PackLargePackedWholeObject. pack(package private) PackLocalObjectRepresentation. pack(package private) PackLocalObjectToPack. packPack to reuse compressed data from, otherwise null.private PackPackInputStream. packprivate PackWindowCache.SoftRef. packprivate PackWindowCache.StrongRef. packprivate Pack[]LocalCachedPack. packs(package private) Pack[]PackDirectory.PackList. packsAll known packs, sorted bySORT.(package private) PackDeltaBaseCache.Slot. providerFields in org.eclipse.jgit.internal.storage.file with type parameters of type Pack Modifier and Type Field Description static java.util.Comparator<Pack>Pack. SORTSorts PackFiles to be most recently created to least recently created.Methods in org.eclipse.jgit.internal.storage.file that return Pack Modifier and Type Method Description PackObjectDirectoryPackParser. getPack()Get the importedPack.(package private) PackPackDirectory. getPack(AnyObjectId objectId)Get thePackfor the specified object if it is stored in this PackDirectory.PackWindowCache.PageRef. getPack()Get thePackthe referenced cache page is allocated forPackWindowCache.SoftRef. getPack()PackWindowCache.StrongRef. getPack()private PackLocalCachedPack. getPackFile(java.lang.String packName)private Pack[]LocalCachedPack. getPacks()(package private) PackCachedObjectDirectory. openPack(java.io.File pack)(package private) abstract PackFileObjectDatabase. openPack(java.io.File pack)PackObjectDirectory. openPack(java.io.File pack)private PackGC. 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 Pack Modifier and Type Method Description private java.util.Collection<Pack>GC. doGc()java.util.Collection<Pack>GC. gc()Runs a garbage collector on aFileRepository.(package private) java.util.Collection<Pack>CachedObjectDirectory. getPacks()(package private) abstract java.util.Collection<Pack>FileObjectDatabase. getPacks()java.util.Collection<Pack>ObjectDirectory. getPacks()(package private) java.util.Collection<Pack>PackDirectory. getPacks()java.util.Collection<Pack>GC. repack()Packs all objects which reachable from any of the heads into one pack file.private static java.util.Map<java.lang.String,Pack>PackDirectory. reuseMap(PackDirectory.PackList old)Methods in org.eclipse.jgit.internal.storage.file with parameters of type Pack Modifier and Type Method Description private voidWindowCache. close(Pack pack)(package private) booleanByteWindow. contains(Pack neededPack, long neededPos)(package private) intWindowCursor. copy(Pack pack, long position, byte[] dstbuf, int dstoff, int cnt)Copy bytes from the window to a caller supplied buffer.(package private) voidWindowCursor. copyPackAsIs(Pack pack, long length, PackOutputStream out)private WindowCache.PageRef<ByteWindow>WindowCache. createRef(Pack p, long o, ByteWindow v)(package private) DeltaBaseCache.EntryDeltaBaseCache. get(Pack pack, long position)(package private) static ByteWindowWindowCache. get(Pack pack, long offset)private ByteWindowWindowCache. getOrLoad(Pack pack, long position)Lookup a cached object, creating and loading it if it doesn't exist.private voidPackDirectory. handlePackError(java.io.IOException e, Pack p)private static intPackDirectory. indexOf(Pack[] list, Pack pack)(package private) intWindowCursor. inflate(Pack pack, long position, byte[] dstbuf, boolean headerOnly)Inflate a region of the pack starting atposition.(package private) voidPackDirectory. insert(Pack pack)private ByteWindowWindowCache. load(Pack pack, long offset)private WindowCache.LockWindowCache. lock(Pack pack, long position)private voidGC. loosen(ObjectDirectoryInserter inserter, ObjectReader reader, Pack 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(Pack pack, long offset, long length, long base)(package private) static LocalObjectRepresentationLocalObjectRepresentation. newDelta(Pack pack, long offset, long length, ObjectId base)(package private) static LocalObjectRepresentationLocalObjectRepresentation. newWhole(Pack pack, long offset, long length)(package private) voidWindowCursor. pin(Pack pack, long position)(package private) static voidWindowCache. purge(Pack pack)(package private) ByteArrayWindowWindowCursor. quickCopy(Pack p, long pos, long cnt)voidWindowCache.StatsRecorder. recordOpenBytes(Pack pack, int delta)Record cached bytesvoidWindowCache.StatsRecorderImpl. recordOpenBytes(Pack pack, int delta)private voidPackDirectory. remove(Pack deadPack)private voidWindowCache. removeAll(Pack pack)Clear all entries related to a single file.private static java.lang.StringWindowCache.StatsRecorderImpl. repositoryId(Pack pack)private ByteWindowWindowCache. scan(WindowCache.Entry n, Pack pack, long position)private intWindowCache. slot(Pack pack, long position)(package private) voidDeltaBaseCache. store(Pack pack, long position, byte[] data, int objectType)Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type Pack Modifier and Type Method Description private voidGC. deleteOldPacks(java.util.Collection<Pack> oldPacks, java.util.Collection<Pack> newPacks)Delete old pack files.Constructors in org.eclipse.jgit.internal.storage.file with parameters of type Pack Constructor Description ByteArrayWindow(Pack pack, long o, byte[] b)ByteBufferWindow(Pack pack, long o, java.nio.ByteBuffer b)ByteWindow(Pack p, long s, int n)Constructor for ByteWindow.LargePackedWholeObject(int type, long size, long objectOffset, int headerLength, Pack pack, FileObjectDatabase db)PackInputStream(Pack pack, long pos, WindowCursor wc)PackList(FileSnapshot monitor, Pack[] packs)SoftRef(Pack pack, long position, ByteWindow v, WindowCache.SoftCleanupQueue queue)StrongRef(Pack pack, long position, ByteWindow v, WindowCache.CleanupQueue queue)Constructor parameters in org.eclipse.jgit.internal.storage.file with type arguments of type Pack Constructor Description LocalCachedPack(java.util.List<Pack> packs)
-