Uses of Class
org.eclipse.jgit.internal.storage.file.Pack
Packages that use Pack
-
Uses of Pack in org.eclipse.jgit.internal.storage.file
Fields in org.eclipse.jgit.internal.storage.file declared as PackModifier and TypeFieldDescriptionprivate Pack
ObjectDirectoryPackParser.newPack
The pack that was created, if parsing was successful.protected final Pack
ByteWindow.pack
private final Pack
LargePackedWholeObject.pack
(package private) Pack
LocalObjectRepresentation.pack
(package private) Pack
LocalObjectToPack.pack
Pack to reuse compressed data from, otherwise null.private final Pack
PackInputStream.pack
private final Pack
WindowCache.SoftRef.pack
private final Pack
WindowCache.StrongRef.pack
private Pack[]
LocalCachedPack.packs
(package private) final Pack[]
PackDirectory.PackList.packs
All known packs, sorted bySORT
.(package private) Pack
DeltaBaseCache.Slot.provider
Fields in org.eclipse.jgit.internal.storage.file with type parameters of type PackModifier and TypeFieldDescriptionstatic final Comparator
<Pack> Pack.SORT
Sorts PackFiles to be most recently created to least recently created.Methods in org.eclipse.jgit.internal.storage.file that return PackModifier and TypeMethodDescriptionObjectDirectoryPackParser.getPack()
Get the importedPack
.(package private) Pack
PackDirectory.getPack
(AnyObjectId objectId) Get thePack
for the specified object if it is stored in this PackDirectory.WindowCache.PageRef.getPack()
Get thePack
the referenced cache page is allocated forWindowCache.SoftRef.getPack()
WindowCache.StrongRef.getPack()
private Pack
LocalCachedPack.getPackFile
(String packName) private Pack[]
LocalCachedPack.getPacks()
(package private) Pack
(package private) abstract Pack
private Pack
GC.writePack
(Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<ObjectId> tags, Set<ObjectId> tagTargets, List<ObjectIdSet> excludeObjects) Methods in org.eclipse.jgit.internal.storage.file that return types with arguments of type PackModifier and TypeMethodDescriptionprivate Collection
<Pack> GC.doGc()
GC.gc()
Runs a garbage collector on aFileRepository
.(package private) Collection
<Pack> CachedObjectDirectory.getPacks()
(package private) abstract Collection
<Pack> FileObjectDatabase.getPacks()
ObjectDirectory.getPacks()
(package private) Collection
<Pack> PackDirectory.getPacks()
GC.repack()
Packs all objects which reachable from any of the heads into one pack file.PackDirectory.reuseMap
(PackDirectory.PackList old) Methods in org.eclipse.jgit.internal.storage.file with parameters of type PackModifier and TypeMethodDescriptionprivate void
(package private) final boolean
(package private) int
Copy bytes from the window to a caller supplied buffer.(package private) void
WindowCursor.copyPackAsIs
(Pack pack, long length, PackOutputStream out) private WindowCache.PageRef
<ByteWindow> WindowCache.createRef
(Pack p, long o, ByteWindow v) (package private) DeltaBaseCache.Entry
(package private) static final ByteWindow
private ByteWindow
Lookup a cached object, creating and loading it if it doesn't exist.private void
PackDirectory.handlePackError
(IOException e, Pack p) private static int
(package private) int
Inflate a region of the pack starting atposition
.(package private) void
private ByteWindow
private WindowCache.Lock
private void
GC.loosen
(ObjectDirectoryInserter inserter, ObjectReader reader, Pack pack, HashSet<ObjectId> existing) Loosen objects in a pack file which are not also in the newly-created pack files.(package private) static LocalObjectRepresentation
(package private) static LocalObjectRepresentation
(package private) static LocalObjectRepresentation
(package private) void
(package private) static final void
(package private) ByteArrayWindow
void
WindowCache.StatsRecorder.recordOpenBytes
(Pack pack, int delta) Record cached bytesvoid
WindowCache.StatsRecorderImpl.recordOpenBytes
(Pack pack, int delta) private void
private void
Clear all entries related to a single file.private static String
WindowCache.StatsRecorderImpl.repositoryId
(Pack pack) private ByteWindow
WindowCache.scan
(WindowCache.Entry n, Pack pack, long position) private int
(package private) void
Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type PackModifier and TypeMethodDescriptionprivate void
GC.deleteOldPacks
(Collection<Pack> oldPacks, Collection<Pack> newPacks) Delete old pack files.Constructors in org.eclipse.jgit.internal.storage.file with parameters of type PackModifierConstructorDescription(package private)
ByteArrayWindow
(Pack pack, long o, byte[] b) (package private)
ByteBufferWindow
(Pack pack, long o, ByteBuffer b) protected
ByteWindow
(Pack p, long s, int n) Constructor for ByteWindow.(package private)
LargePackedWholeObject
(int type, long size, long objectOffset, int headerLength, Pack pack, FileObjectDatabase db) (package private)
PackInputStream
(Pack pack, long pos, WindowCursor wc) (package private)
PackList
(FileSnapshot monitor, Pack[] packs) protected
SoftRef
(Pack pack, long position, ByteWindow v, WindowCache.SoftCleanupQueue queue) protected
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