Uses of Class
org.eclipse.jgit.internal.storage.pack.ObjectToPack
-
Packages that use ObjectToPack Package Description org.eclipse.jgit.errors Exceptions thrown by lower-level JGit APIs.org.eclipse.jgit.internal.storage.dfs Distributed file system based repository storage.org.eclipse.jgit.internal.storage.file File based repository storage.org.eclipse.jgit.internal.storage.pack Reading/writing Git pack files. -
-
Uses of ObjectToPack in org.eclipse.jgit.errors
Constructors in org.eclipse.jgit.errors with parameters of type ObjectToPack Constructor Description StoredObjectRepresentationNotAvailableException(ObjectToPack otp, java.lang.Throwable cause)
Construct an error for an object. -
Uses of ObjectToPack in org.eclipse.jgit.internal.storage.dfs
Subclasses of ObjectToPack in org.eclipse.jgit.internal.storage.dfs Modifier and Type Class Description (package private) class
DfsObjectToPack
Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectToPack Modifier and Type Method Description void
DfsReader. copyObjectAsIs(PackOutputStream out, ObjectToPack otp, boolean validate)
Output a previously selected representation.boolean
DfsCachedPack. hasObject(ObjectToPack obj, StoredObjectRepresentation rep)
Determine if this pack contains the object representation given.Method parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type ObjectToPack Modifier and Type Method Description private static boolean
DfsReader. checkGarbagePacks(java.lang.Iterable<ObjectToPack> objects)
private java.util.List<DfsObjectToPack>
DfsReader. findAllFromPack(DfsPackFile pack, java.lang.Iterable<ObjectToPack> objects, boolean skipFound)
void
DfsReader. selectObjectRepresentation(PackWriter packer, ProgressMonitor monitor, java.lang.Iterable<ObjectToPack> objects)
private void
DfsReader. trySelectRepresentation(PackWriter packer, ProgressMonitor monitor, java.lang.Iterable<ObjectToPack> objects, java.util.List<DfsPackFile> packs, boolean skipFound)
void
DfsReader. writeObjects(PackOutputStream out, java.util.List<ObjectToPack> list)
Write objects to the pack stream in roughly the order given. -
Uses of ObjectToPack in org.eclipse.jgit.internal.storage.file
Subclasses of ObjectToPack in org.eclipse.jgit.internal.storage.file Modifier and Type Class Description (package private) class
LocalObjectToPack
Methods in org.eclipse.jgit.internal.storage.file with parameters of type ObjectToPack Modifier and Type Method Description private void
Pack. beginCopyAsIs(ObjectToPack otp)
void
WindowCursor. copyObjectAsIs(PackOutputStream out, ObjectToPack otp, boolean validate)
Output a previously selected representation.boolean
LocalCachedPack. hasObject(ObjectToPack obj, StoredObjectRepresentation rep)
Determine if this pack contains the object representation given.(package private) void
CachedObjectDirectory. selectObjectRepresentation(PackWriter packer, ObjectToPack otp, WindowCursor curs)
(package private) abstract void
FileObjectDatabase. selectObjectRepresentation(PackWriter packer, ObjectToPack otp, WindowCursor curs)
(package private) void
ObjectDirectory. selectObjectRepresentation(PackWriter packer, ObjectToPack otp, WindowCursor curs)
private void
ObjectDirectory. selectObjectRepresentation(PackWriter packer, ObjectToPack otp, WindowCursor curs, java.util.Set<ObjectDirectory.AlternateHandle.Id> skips)
(package private) void
PackDirectory. selectRepresentation(PackWriter packer, ObjectToPack otp, WindowCursor curs)
Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ObjectToPack Modifier and Type Method Description void
WindowCursor. selectObjectRepresentation(PackWriter packer, ProgressMonitor monitor, java.lang.Iterable<ObjectToPack> objects)
Select the best object representation for a packer.private static void
PackBitmapIndexBuilder. sortByOffsetAndIndex(BlockList<PackBitmapIndexBuilder.PositionEntry> byOffset, ObjectIdOwnerMap<PackBitmapIndexBuilder.PositionEntry> positionEntries, java.util.List<ObjectToPack> entries)
void
WindowCursor. writeObjects(PackOutputStream out, java.util.List<ObjectToPack> list)
Write objects to the pack stream in roughly the order given.Constructor parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ObjectToPack Constructor Description PackBitmapIndexBuilder(java.util.List<ObjectToPack> objects)
Creates a PackBitmapIndex used for building the contents of an index file. -
Uses of ObjectToPack in org.eclipse.jgit.internal.storage.pack
Fields in org.eclipse.jgit.internal.storage.pack declared as ObjectToPack Modifier and Type Field Description (package private) ObjectToPack[]
DeltaTask.Block. list
(package private) ObjectToPack
DeltaWindowEntry. object
private ObjectToPack[]
DeltaWindow. toSearch
Fields in org.eclipse.jgit.internal.storage.pack with type parameters of type ObjectToPack Modifier and Type Field Description private java.util.List<ObjectToPack>
BaseSearch. edgeObjects
private java.util.List<ObjectToPack>
PackWriter. edgeObjects
private ObjectIdOwnerMap<ObjectToPack>
BaseSearch. objectsMap
private ObjectIdOwnerMap<ObjectToPack>
PackWriter. objectsMap
private java.util.List<ObjectToPack>
PackWriter. sortedByName
Methods in org.eclipse.jgit.internal.storage.pack that return ObjectToPack Modifier and Type Method Description ObjectToPack
PackWriter. get(AnyObjectId id)
Lookup the ObjectToPack object for a given ObjectId.ObjectToPack
ObjectToPack. getDeltaBase()
Get delta base object to pack if object is going to be packed in delta representation and delta is specified as object to packObjectToPack
ObjectReuseAsIs. newObjectToPack(AnyObjectId objectId, int type)
Allocate a newPackWriter
state structure for an object.Methods in org.eclipse.jgit.internal.storage.pack that return types with arguments of type ObjectToPack Modifier and Type Method Description private java.util.List<ObjectToPack>
PackWriter. sortByName()
Methods in org.eclipse.jgit.internal.storage.pack with parameters of type ObjectToPack Modifier and Type Method Description private void
DeltaWindow. cacheDelta(ObjectToPack srcObj, ObjectToPack resObj)
(package private) boolean
DeltaCache. canCache(int length, ObjectToPack src, ObjectToPack res)
(package private) boolean
ThreadSafeDeltaCache. canCache(int length, ObjectToPack src, ObjectToPack res)
void
ObjectReuseAsIs. copyObjectAsIs(PackOutputStream out, ObjectToPack otp, boolean validate)
Output a previously selected representation.private TemporaryBuffer.Heap
PackWriter. delta(ObjectToPack otp)
private static long
DeltaWindow. estimateSize(ObjectToPack ent)
private int
PackWriter. findObjectsNeedingDelta(ObjectToPack[] list, int cnt, int type)
(package private) static int
DeltaTask. getAdjustedWeight(ObjectToPack o)
abstract boolean
CachedPack. hasObject(ObjectToPack obj, StoredObjectRepresentation rep)
Determine if this pack contains the object representation given.private boolean
PackWriter. have(ObjectToPack ptr, AnyObjectId objectId)
private void
PackWriter. parallelDeltaSearch(ProgressMonitor monitor, ObjectToPack[] list, int cnt, int threads)
private void
PackWriter. reselectNonDelta(ObjectToPack otp)
private boolean
PackWriter. reuseDeltaFor(ObjectToPack otp)
private void
PackWriter. searchForDeltas(ProgressMonitor monitor, ObjectToPack[] list, int cnt)
void
PackWriter. select(ObjectToPack otp, StoredObjectRepresentation next)
Select an object representation for this writer.(package private) void
DeltaWindowEntry. set(ObjectToPack object)
private void
PackWriter. singleThreadDeltaSearch(ProgressMonitor monitor, ObjectToPack[] list, int cnt)
private void
PackWriter. writeBase(PackOutputStream out, ObjectToPack base)
private void
PackWriter. writeDeltaObjectDeflate(PackOutputStream out, ObjectToPack otp)
void
PackOutputStream. writeHeader(ObjectToPack otp, long rawLength)
Commits the object header onto the stream.void
PackOutputStream. writeObject(ObjectToPack otp)
Write one object.(package private) void
PackWriter. writeObject(PackOutputStream out, ObjectToPack otp)
private void
PackWriter. writeObjectImpl(PackOutputStream out, ObjectToPack otp)
private void
PackWriter. writeWholeObjectDeflate(PackOutputStream out, ObjectToPack otp)
Method parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type ObjectToPack Modifier and Type Method Description private void
PackWriter. cutDeltaChains(BlockList<ObjectToPack> list)
private static void
PackWriter. pruneEdgesFromObjectList(java.util.List<ObjectToPack> list)
private void
PackWriter. searchForReuse(ProgressMonitor monitor, java.util.List<ObjectToPack> list)
void
ObjectReuseAsIs. selectObjectRepresentation(PackWriter packer, ProgressMonitor monitor, java.lang.Iterable<ObjectToPack> objects)
Select the best object representation for a packer.void
ObjectReuseAsIs. writeObjects(PackOutputStream out, java.util.List<ObjectToPack> list)
Write objects to the pack stream in roughly the order given.private void
PackWriter. writeObjects(PackOutputStream out, java.util.List<ObjectToPack> list)
Constructors in org.eclipse.jgit.internal.storage.pack with parameters of type ObjectToPack Constructor Description Block(int threads, PackConfig config, ObjectReader reader, DeltaCache dc, ThreadSafeProgressMonitor pm, ObjectToPack[] list, int begin, int end)
DeltaWindow(PackConfig pc, DeltaCache dc, ObjectReader or, ProgressMonitor pm, long bpu, ObjectToPack[] in, int beginIndex, int endIndex)
Constructor parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type ObjectToPack Constructor Description BaseSearch(ProgressMonitor countingMonitor, java.util.Set<RevTree> bases, ObjectIdOwnerMap<ObjectToPack> objects, java.util.List<ObjectToPack> edges, ObjectReader or)
BaseSearch(ProgressMonitor countingMonitor, java.util.Set<RevTree> bases, ObjectIdOwnerMap<ObjectToPack> objects, java.util.List<ObjectToPack> edges, ObjectReader or)
-