Uses of Class
org.eclipse.jgit.internal.storage.dfs.DfsPackDescription
-
Packages that use DfsPackDescription Package Description org.eclipse.jgit.internal.storage.dfs Distributed file system based repository storage. -
-
Uses of DfsPackDescription in org.eclipse.jgit.internal.storage.dfs
Subclasses of DfsPackDescription in org.eclipse.jgit.internal.storage.dfs Modifier and Type Class Description private static class
InMemoryRepository.MemPack
Fields in org.eclipse.jgit.internal.storage.dfs declared as DfsPackDescription Modifier and Type Field Description (package private) DfsPackDescription
BlockBasedFile. desc
Description of the associated pack file's storage.private DfsPackDescription
BlockBasedFile.LazyChannel. desc
private DfsPackDescription
DfsPackCompactor. outDesc
(package private) DfsPackDescription
DfsInserter. packDsc
private DfsPackDescription
DfsPackParser. packDsc
Name of the pack file, computed inDfsPackParser.onPackHeader(long)
.Fields in org.eclipse.jgit.internal.storage.dfs with type parameters of type DfsPackDescription Modifier and Type Field Description private java.util.List<DfsPackDescription>
DfsGarbageCollector. newPackDesc
private java.util.Comparator<DfsPackDescription>
DfsObjDatabase. packComparator
private java.util.List<DfsPackDescription>
InMemoryRepository.MemObjDatabase. packs
Methods in org.eclipse.jgit.internal.storage.dfs that return DfsPackDescription Modifier and Type Method Description DfsPackDescription
DfsPackDescription. clearPackStats()
Discard the pack statistics, if it was populated.DfsPackDescription
DfsCachedPack. getPackDescription()
Get the description of the pack.DfsPackDescription
DfsPackFile. getPackDescription()
Get description that was originally used to configure this pack file.DfsPackDescription
DfsPackParser. getPackDescription()
Get description of the imported pack, if one was made.DfsPackDescription
DfsReftable. getPackDescription()
Get description that was originally used to configure this file.protected abstract DfsPackDescription
DfsObjDatabase. newPack(DfsObjDatabase.PackSource source)
Generate a new unique name for a pack file.protected DfsPackDescription
DfsObjDatabase. newPack(DfsObjDatabase.PackSource source, long estimatedPackSize)
Generate a new unique name for a pack file.protected DfsPackDescription
InMemoryRepository.MemObjDatabase. newPack(DfsObjDatabase.PackSource source)
DfsPackDescription
DfsPackDescription. setBlockSize(PackExt ext, int blockSize)
Set blockSize of the file, in bytes.DfsPackDescription
DfsPackDescription. setDeltaCount(long cnt)
Set number of delta compressed objects in the pack.DfsPackDescription
DfsPackDescription. setEstimatedPackSize(long estimatedPackSize)
Set estimated size of the .pack file in bytes.DfsPackDescription
DfsPackDescription. setFileSize(PackExt ext, long bytes)
Set size of the file in bytes.DfsPackDescription
DfsPackDescription. setIndexVersion(int version)
Set the version of the index file written.DfsPackDescription
DfsPackDescription. setLastModified(long timeMillis)
Set time the pack was created, in milliseconds.DfsPackDescription
DfsPackDescription. setMaxUpdateIndex(long max)
Set maxUpdateIndex for the reftable.DfsPackDescription
DfsPackDescription. setMinUpdateIndex(long min)
Set minUpdateIndex for the reftable.DfsPackDescription
DfsPackDescription. setObjectCount(long cnt)
Set number of objects in the pack.DfsPackDescription
DfsPackDescription. setPackSource(DfsObjDatabase.PackSource source)
Set the source of the pack.(package private) DfsPackDescription
DfsPackDescription. setPackStats(PackStatistics stats)
private DfsPackDescription
DfsGarbageCollector. writePack(DfsObjDatabase.PackSource source, PackWriter pw, ProgressMonitor pm, long estimatedPackSize)
Methods in org.eclipse.jgit.internal.storage.dfs that return types with arguments of type DfsPackDescription Modifier and Type Method Description java.util.List<DfsPackDescription>
DfsGarbageCollector. getNewPacks()
Get new packs created by this compaction.java.util.List<DfsPackDescription>
DfsPackCompactor. getNewPacks()
Get new packs created by this compaction.java.util.Set<DfsPackDescription>
DfsGarbageCollector. getSourcePacks()
Get all of the source packs that fed into this compaction.java.util.Collection<DfsPackDescription>
DfsPackCompactor. getSourcePacks()
Get all of the source packs that fed into this compaction.protected abstract java.util.List<DfsPackDescription>
DfsObjDatabase. listPacks()
List the available pack files.protected java.util.List<DfsPackDescription>
InMemoryRepository.MemObjDatabase. listPacks()
static java.util.Comparator<DfsPackDescription>
DfsPackDescription. objectLookupComparator()
Comparator for packs when looking up objects in indexes.static java.util.Comparator<DfsPackDescription>
DfsPackDescription. objectLookupComparator(java.util.Comparator<DfsObjDatabase.PackSource> packSourceComparator)
Comparator for packs when looking up objects in indexes.private static java.util.Map<DfsPackDescription,DfsPackFile>
DfsObjDatabase. packMap(DfsObjDatabase.PackList old)
(package private) static java.util.Comparator<DfsPackDescription>
DfsPackDescription. reftableComparator()
private static java.util.Map<DfsPackDescription,DfsReftable>
DfsObjDatabase. reftableMap(DfsObjDatabase.PackList old)
(package private) static java.util.Comparator<DfsPackDescription>
DfsPackDescription. reuseComparator()
private java.util.Set<DfsPackDescription>
DfsGarbageCollector. toPrune()
private java.util.Collection<DfsPackDescription>
DfsPackCompactor. toPrune()
private java.util.Set<DfsPackDescription>
DfsReftableBatchRefUpdate. toPruneTopOfStack()
Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsPackDescription Modifier and Type Method Description (package private) void
DfsObjDatabase. addReftable(DfsPackDescription add, java.util.Set<DfsPackDescription> remove)
protected abstract ReadableChannel
DfsObjDatabase. openFile(DfsPackDescription desc, PackExt ext)
Open a pack, pack index, or other related file for reading.protected ReadableChannel
InMemoryRepository.MemObjDatabase. openFile(DfsPackDescription desc, PackExt ext)
private boolean
DfsGarbageCollector. packIsCoalesceableGarbage(DfsPackDescription d, long now)
private boolean
DfsGarbageCollector. packIsExpiredGarbage(DfsPackDescription d, long now)
private boolean
DfsReftableBatchRefUpdate. packOnlyContainsReftable(DfsPackDescription desc)
protected abstract DfsOutputStream
DfsObjDatabase. writeFile(DfsPackDescription desc, PackExt ext)
Open a pack, pack index, or other related file for writing.protected DfsOutputStream
InMemoryRepository.MemObjDatabase. writeFile(DfsPackDescription desc, PackExt ext)
private static void
DfsPackCompactor. writeIndex(DfsObjDatabase objdb, DfsPackDescription pack, PackWriter pw)
private static void
DfsPackCompactor. writePack(DfsObjDatabase objdb, DfsPackDescription pack, PackWriter pw, ProgressMonitor pm)
(package private) PackIndex
DfsInserter. writePackIndex(DfsPackDescription pack, byte[] packHash, java.util.List<PackedObjectInfo> list)
private void
DfsGarbageCollector. writeReftable(DfsPackDescription pack)
private void
DfsGarbageCollector. writeReftable(DfsPackDescription pack, java.util.Collection<Ref> refs)
Method parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type DfsPackDescription Modifier and Type Method Description (package private) void
DfsObjDatabase. addReftable(DfsPackDescription add, java.util.Set<DfsPackDescription> remove)
protected void
DfsObjDatabase. commitPack(java.util.Collection<DfsPackDescription> desc, java.util.Collection<DfsPackDescription> replaces)
Commit a pack and index pair that was written to the DFS.protected abstract void
DfsObjDatabase. commitPackImpl(java.util.Collection<DfsPackDescription> desc, java.util.Collection<DfsPackDescription> replaces)
Implementation of pack commit.protected void
InMemoryRepository.MemObjDatabase. commitPackImpl(java.util.Collection<DfsPackDescription> desc, java.util.Collection<DfsPackDescription> replace)
protected abstract void
DfsObjDatabase. rollbackPack(java.util.Collection<DfsPackDescription> desc)
Try to rollback a pack creation.protected void
InMemoryRepository.MemObjDatabase. rollbackPack(java.util.Collection<DfsPackDescription> desc)
void
DfsObjDatabase. setPackComparator(java.util.Comparator<DfsPackDescription> packComparator)
Set the comparator used when searching for objects across packs.Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsPackDescription Constructor Description BlockBasedFile(DfsBlockCache cache, DfsPackDescription desc, PackExt ext)
DfsPackFile(DfsBlockCache cache, DfsPackDescription desc)
Construct a reader for an existing, packfile.DfsReftable(DfsBlockCache cache, DfsPackDescription desc)
Construct a reader for an existing reftable.DfsReftable(DfsPackDescription desc)
Construct a reader for an existing reftable.LazyChannel(DfsReader ctx, DfsPackDescription desc, PackExt ext)
-