Package | Description |
---|---|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
Modifier and Type | Field and Description |
---|---|
private DfsObjDatabase.PackSource |
DfsPackDescription.packSource |
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<DfsObjDatabase.PackSource> |
DfsObjDatabase.PackSource.DEFAULT_COMPARATOR
Default comparator for sources.
|
private java.util.Map<DfsObjDatabase.PackSource,java.lang.Integer> |
DfsObjDatabase.PackSource.ComparatorBuilder.ranks |
private java.util.Map<DfsObjDatabase.PackSource,java.lang.Integer> |
DfsObjDatabase.PackSource.PackSourceComparator.ranks |
Modifier and Type | Method and Description |
---|---|
DfsObjDatabase.PackSource |
DfsPackDescription.getPackSource()
Get the source of the pack.
|
static DfsObjDatabase.PackSource |
DfsObjDatabase.PackSource.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DfsObjDatabase.PackSource[] |
DfsObjDatabase.PackSource.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<DfsObjDatabase.PackSource> |
DfsObjDatabase.PackSource.ComparatorBuilder.build()
Build the comparator.
|
Modifier and Type | Method and Description |
---|---|
DfsObjDatabase.PackSource.ComparatorBuilder |
DfsObjDatabase.PackSource.ComparatorBuilder.add(DfsObjDatabase.PackSource... sources)
Add a collection of sources that should sort as equal.
|
int |
DfsObjDatabase.PackSource.PackSourceComparator.compare(DfsObjDatabase.PackSource a,
DfsObjDatabase.PackSource b) |
private long |
DfsGarbageCollector.estimateGcPackSize(DfsObjDatabase.PackSource first,
DfsObjDatabase.PackSource... rest) |
private long |
DfsGarbageCollector.estimateGcPackSize(DfsObjDatabase.PackSource first,
DfsObjDatabase.PackSource... rest) |
(package private) static boolean |
DfsPackDescription.isGC(DfsObjDatabase.PackSource s) |
protected abstract DfsPackDescription |
DfsObjDatabase.newPack(DfsObjDatabase.PackSource source)
Generate a new unique name for a pack file.
|
protected DfsPackDescription |
InMemoryRepository.MemObjDatabase.newPack(DfsObjDatabase.PackSource source) |
protected DfsPackDescription |
DfsObjDatabase.newPack(DfsObjDatabase.PackSource source,
long estimatedPackSize)
Generate a new unique name for a pack file.
|
DfsPackDescription |
DfsPackDescription.setPackSource(DfsObjDatabase.PackSource source)
Set the source of the pack.
|
private DfsPackDescription |
DfsGarbageCollector.writePack(DfsObjDatabase.PackSource source,
PackWriter pw,
ProgressMonitor pm,
long estimatedPackSize) |
Modifier and Type | Method and Description |
---|---|
static java.util.Comparator<DfsPackDescription> |
DfsPackDescription.objectLookupComparator(java.util.Comparator<DfsObjDatabase.PackSource> packSourceComparator)
Comparator for packs when looking up objects in indexes.
|
Constructor and Description |
---|
DfsPackDescription(DfsRepositoryDescription repoDesc,
java.lang.String name,
DfsObjDatabase.PackSource packSource)
Initialize a description by pack name and repository.
|
MemPack(java.lang.String name,
DfsRepositoryDescription repoDesc,
DfsObjDatabase.PackSource source) |
Constructor and Description |
---|
PackSourceComparator(java.util.Map<DfsObjDatabase.PackSource,java.lang.Integer> ranks) |