final class DelayRevQueue extends Generator
PendingGenerator.OVER_SCAN late.
This helps to "fix up" weird corner cases resulting from clock skew, by
slowing down what we produce to the caller we get a better chance to ensure
PendingGenerator reached back far enough in the graph to correctly mark
commits RevWalk.UNINTERESTING if necessary.
This generator should appear before FixUninterestingGenerator if the
lower level pending isn't already fully buffered.
| Modifier and Type | Field and Description |
|---|---|
private FIFORevQueue |
delay |
private static int |
OVER_SCAN |
private Generator |
pending |
private int |
size |
HAS_REWRITE, HAS_UNINTERESTING, NEEDS_REWRITE, SORT_COMMIT_TIME_DESC, SORT_TOPO| Constructor and Description |
|---|
DelayRevQueue(Generator g) |
| Modifier and Type | Method and Description |
|---|---|
(package private) RevCommit |
next()
Return the next commit to the application, or the next generator.
|
(package private) int |
outputType()
Obtain flags describing the output behavior of this generator.
|
shareFreeListprivate static final int OVER_SCAN
private final Generator pending
private final FIFORevQueue delay
private int size
DelayRevQueue(Generator g)
int outputType()
GeneratoroutputType in class GeneratorRevCommit next() throws MissingObjectException, IncorrectObjectTypeException, java.io.IOException
Generatornext in class GeneratorMissingObjectExceptionIncorrectObjectTypeExceptionjava.io.IOException