Class DeltaTask.Block
java.lang.Object
org.eclipse.jgit.internal.storage.pack.DeltaTask.Block
- Enclosing class:
- DeltaTask
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int
(package private) long
(package private) final PackConfig
(package private) final DeltaCache
(package private) final int
(package private) final ObjectToPack[]
private static final int
(package private) final ThreadSafeProgressMonitor
(package private) final ObjectReader
(package private) final int
private long
-
Constructor Summary
ConstructorsConstructorDescriptionBlock
(int threads, PackConfig config, ObjectReader reader, DeltaCache dc, ThreadSafeProgressMonitor pm, ObjectToPack[] list, int begin, int end) -
Method Summary
Modifier and TypeMethodDescriptionprivate ArrayList<DeltaTask.WeightedPath>
(package private) int
cost()
(package private) void
(package private) DeltaWindow
-
Field Details
-
MIN_TOP_PATH
private static final int MIN_TOP_PATH- See Also:
-
tasks
-
threads
final int threads -
config
-
templateReader
-
dc
-
pm
-
list
-
beginIndex
final int beginIndex -
endIndex
final int endIndex -
totalWeight
private long totalWeight -
bytesPerUnit
long bytesPerUnit
-
-
Constructor Details
-
Block
Block(int threads, PackConfig config, ObjectReader reader, DeltaCache dc, ThreadSafeProgressMonitor pm, ObjectToPack[] list, int begin, int end)
-
-
Method Details
-
cost
int cost() -
stealWork
-
partitionTasks
void partitionTasks() -
computeTopPaths
-