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 Pack
ObjectDirectoryPackParser. newPack
The pack that was created, if parsing was successful.protected Pack
ByteWindow. pack
private Pack
LargePackedWholeObject. pack
(package private) Pack
LocalObjectRepresentation. pack
(package private) Pack
LocalObjectToPack. pack
Pack to reuse compressed data from, otherwise null.private Pack
PackInputStream. pack
private Pack
WindowCache.SoftRef. pack
private Pack
WindowCache.StrongRef. pack
private Pack[]
LocalCachedPack. packs
(package private) 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 Pack Modifier and Type Field Description static java.util.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 Pack Modifier and Type Method Description Pack
ObjectDirectoryPackParser. getPack()
Get the importedPack
.(package private) Pack
PackDirectory. getPack(AnyObjectId objectId)
Get thePack
for the specified object if it is stored in this PackDirectory.Pack
WindowCache.PageRef. getPack()
Get thePack
the referenced cache page is allocated forPack
WindowCache.SoftRef. getPack()
Pack
WindowCache.StrongRef. getPack()
private Pack
LocalCachedPack. getPackFile(java.lang.String packName)
private Pack[]
LocalCachedPack. getPacks()
(package private) Pack
CachedObjectDirectory. openPack(java.io.File pack)
(package private) abstract Pack
FileObjectDatabase. openPack(java.io.File pack)
Pack
ObjectDirectory. openPack(java.io.File pack)
private Pack
GC. 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 void
WindowCache. close(Pack pack)
(package private) boolean
ByteWindow. contains(Pack neededPack, long neededPos)
(package private) int
WindowCursor. copy(Pack pack, long position, byte[] dstbuf, int dstoff, int cnt)
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
DeltaBaseCache. get(Pack pack, long position)
(package private) static ByteWindow
WindowCache. get(Pack pack, long offset)
private ByteWindow
WindowCache. getOrLoad(Pack pack, long position)
Lookup a cached object, creating and loading it if it doesn't exist.private void
PackDirectory. handlePackError(java.io.IOException e, Pack p)
private static int
PackDirectory. indexOf(Pack[] list, Pack pack)
(package private) int
WindowCursor. inflate(Pack pack, long position, byte[] dstbuf, boolean headerOnly)
Inflate a region of the pack starting atposition
.(package private) void
PackDirectory. insert(Pack pack)
private ByteWindow
WindowCache. load(Pack pack, long offset)
private WindowCache.Lock
WindowCache. lock(Pack pack, long position)
private void
GC. 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 LocalObjectRepresentation
LocalObjectRepresentation. newDelta(Pack pack, long offset, long length, long base)
(package private) static LocalObjectRepresentation
LocalObjectRepresentation. newDelta(Pack pack, long offset, long length, ObjectId base)
(package private) static LocalObjectRepresentation
LocalObjectRepresentation. newWhole(Pack pack, long offset, long length)
(package private) void
WindowCursor. pin(Pack pack, long position)
(package private) static void
WindowCache. purge(Pack pack)
(package private) ByteArrayWindow
WindowCursor. quickCopy(Pack p, long pos, long cnt)
void
WindowCache.StatsRecorder. recordOpenBytes(Pack pack, int delta)
Record cached bytesvoid
WindowCache.StatsRecorderImpl. recordOpenBytes(Pack pack, int delta)
private void
PackDirectory. remove(Pack deadPack)
private void
WindowCache. removeAll(Pack pack)
Clear all entries related to a single file.private static java.lang.String
WindowCache.StatsRecorderImpl. repositoryId(Pack pack)
private ByteWindow
WindowCache. scan(WindowCache.Entry n, Pack pack, long position)
private int
WindowCache. slot(Pack pack, long position)
(package private) void
DeltaBaseCache. 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 void
GC. 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)
-