]> source.dussan.org Git - jgit.git/commit
Offer ObjectReaders advice about a RevWalk 21/1221/3
authorShawn O. Pearce <spearce@spearce.org>
Fri, 30 Jul 2010 02:52:36 +0000 (19:52 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 21 Aug 2010 00:41:27 +0000 (17:41 -0700)
commit11a5bef8b1c866fadc9b340a1300c7fdd927a46b
treebb3f5c604e0c79d9d8ea0041104f55932201664a
parentb85af06324644e699bd2cc7e2047ae1f65f35db5
Offer ObjectReaders advice about a RevWalk

By giving the reader information about the roots of a revision
traversal, some readers may be able to prefetch information from
their backing store using background threads in order to reduce
data access latency.  However this isn't typically necessary so
the default reader implementation doesn't react to the advice.

Change-Id: I72c6cbd05cff7d8506826015f50d9f57d5cda77e
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/MergeBaseGenerator.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/ObjectWalk.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/PendingGenerator.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/StartGenerator.java