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) classDfsObjectToPackMethods in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectToPack Modifier and Type Method Description voidDfsReader. copyObjectAsIs(PackOutputStream out, ObjectToPack otp, boolean validate)Output a previously selected representation.booleanDfsCachedPack. 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 booleanDfsReader. checkGarbagePacks(java.lang.Iterable<ObjectToPack> objects)private java.util.List<DfsObjectToPack>DfsReader. findAllFromPack(DfsPackFile pack, java.lang.Iterable<ObjectToPack> objects, boolean skipFound)voidDfsReader. selectObjectRepresentation(PackWriter packer, ProgressMonitor monitor, java.lang.Iterable<ObjectToPack> objects)private voidDfsReader. trySelectRepresentation(PackWriter packer, ProgressMonitor monitor, java.lang.Iterable<ObjectToPack> objects, java.util.List<DfsPackFile> packs, boolean skipFound)voidDfsReader. 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) classLocalObjectToPackMethods in org.eclipse.jgit.internal.storage.file with parameters of type ObjectToPack Modifier and Type Method Description private voidPack. beginCopyAsIs(ObjectToPack otp)voidWindowCursor. copyObjectAsIs(PackOutputStream out, ObjectToPack otp, boolean validate)Output a previously selected representation.booleanLocalCachedPack. hasObject(ObjectToPack obj, StoredObjectRepresentation rep)Determine if this pack contains the object representation given.(package private) voidCachedObjectDirectory. selectObjectRepresentation(PackWriter packer, ObjectToPack otp, WindowCursor curs)(package private) abstract voidFileObjectDatabase. selectObjectRepresentation(PackWriter packer, ObjectToPack otp, WindowCursor curs)(package private) voidObjectDirectory. selectObjectRepresentation(PackWriter packer, ObjectToPack otp, WindowCursor curs)private voidObjectDirectory. selectObjectRepresentation(PackWriter packer, ObjectToPack otp, WindowCursor curs, java.util.Set<ObjectDirectory.AlternateHandle.Id> skips)(package private) voidPackDirectory. 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 voidWindowCursor. selectObjectRepresentation(PackWriter packer, ProgressMonitor monitor, java.lang.Iterable<ObjectToPack> objects)Select the best object representation for a packer.private static voidPackBitmapIndexBuilder. sortByOffsetAndIndex(BlockList<PackBitmapIndexBuilder.PositionEntry> byOffset, ObjectIdOwnerMap<PackBitmapIndexBuilder.PositionEntry> positionEntries, java.util.List<ObjectToPack> entries)voidWindowCursor. 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) ObjectToPackDeltaWindowEntry. objectprivate ObjectToPack[]DeltaWindow. toSearchFields in org.eclipse.jgit.internal.storage.pack with type parameters of type ObjectToPack Modifier and Type Field Description private java.util.List<ObjectToPack>BaseSearch. edgeObjectsprivate java.util.List<ObjectToPack>PackWriter. edgeObjectsprivate ObjectIdOwnerMap<ObjectToPack>BaseSearch. objectsMapprivate ObjectIdOwnerMap<ObjectToPack>PackWriter. objectsMapprivate java.util.List<ObjectToPack>PackWriter. sortedByNameMethods in org.eclipse.jgit.internal.storage.pack that return ObjectToPack Modifier and Type Method Description ObjectToPackPackWriter. get(AnyObjectId id)Lookup the ObjectToPack object for a given ObjectId.ObjectToPackObjectToPack. getDeltaBase()Get delta base object to pack if object is going to be packed in delta representation and delta is specified as object to packObjectToPackObjectReuseAsIs. newObjectToPack(AnyObjectId objectId, int type)Allocate a newPackWriterstate 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 voidDeltaWindow. cacheDelta(ObjectToPack srcObj, ObjectToPack resObj)(package private) booleanDeltaCache. canCache(int length, ObjectToPack src, ObjectToPack res)(package private) booleanThreadSafeDeltaCache. canCache(int length, ObjectToPack src, ObjectToPack res)voidObjectReuseAsIs. copyObjectAsIs(PackOutputStream out, ObjectToPack otp, boolean validate)Output a previously selected representation.private TemporaryBuffer.HeapPackWriter. delta(ObjectToPack otp)private static longDeltaWindow. estimateSize(ObjectToPack ent)private intPackWriter. findObjectsNeedingDelta(ObjectToPack[] list, int cnt, int type)(package private) static intDeltaTask. getAdjustedWeight(ObjectToPack o)abstract booleanCachedPack. hasObject(ObjectToPack obj, StoredObjectRepresentation rep)Determine if this pack contains the object representation given.private booleanPackWriter. have(ObjectToPack ptr, AnyObjectId objectId)private voidPackWriter. parallelDeltaSearch(ProgressMonitor monitor, ObjectToPack[] list, int cnt, int threads)private voidPackWriter. reselectNonDelta(ObjectToPack otp)private booleanPackWriter. reuseDeltaFor(ObjectToPack otp)private voidPackWriter. searchForDeltas(ProgressMonitor monitor, ObjectToPack[] list, int cnt)voidPackWriter. select(ObjectToPack otp, StoredObjectRepresentation next)Select an object representation for this writer.(package private) voidDeltaWindowEntry. set(ObjectToPack object)private voidPackWriter. singleThreadDeltaSearch(ProgressMonitor monitor, ObjectToPack[] list, int cnt)private voidPackWriter. writeBase(PackOutputStream out, ObjectToPack base)private voidPackWriter. writeDeltaObjectDeflate(PackOutputStream out, ObjectToPack otp)voidPackOutputStream. writeHeader(ObjectToPack otp, long rawLength)Commits the object header onto the stream.voidPackOutputStream. writeObject(ObjectToPack otp)Write one object.(package private) voidPackWriter. writeObject(PackOutputStream out, ObjectToPack otp)private voidPackWriter. writeObjectImpl(PackOutputStream out, ObjectToPack otp)private voidPackWriter. 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 voidPackWriter. cutDeltaChains(BlockList<ObjectToPack> list)private static voidPackWriter. pruneEdgesFromObjectList(java.util.List<ObjectToPack> list)private voidPackWriter. searchForReuse(ProgressMonitor monitor, java.util.List<ObjectToPack> list)voidObjectReuseAsIs. selectObjectRepresentation(PackWriter packer, ProgressMonitor monitor, java.lang.Iterable<ObjectToPack> objects)Select the best object representation for a packer.voidObjectReuseAsIs. writeObjects(PackOutputStream out, java.util.List<ObjectToPack> list)Write objects to the pack stream in roughly the order given.private voidPackWriter. 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)
-