|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.helpers.ProgressIndicator.SimpleProgress
public abstract static class ProgressIndicator.SimpleProgress
A ProgressIndicator that can report the progress for a single
source.
Should be initialized with the total count that the source is going to
reach.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.neo4j.helpers.ProgressIndicator |
|---|
ProgressIndicator.MultiProgress, ProgressIndicator.SimpleProgress, ProgressIndicator.UnknownEndProgress |
| Constructor Summary | |
|---|---|
ProgressIndicator.SimpleProgress(long total)
Create a ProgressIndicator for a single source. |
|
| Method Summary | |
|---|---|
void |
done(long totalProgress)
Mark the process as done with the current source. |
static ProgressIndicator.SimpleProgress |
textual(PrintStream out,
long total)
Returns a simple ProgressIndicator that reports progress by
printing to the provided stream. |
void |
update(boolean incremental,
long value)
Update the current progress count for the current source. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressIndicator.SimpleProgress(long total)
ProgressIndicator for a single source.
total - the total count the process will reach.| Method Detail |
|---|
public static ProgressIndicator.SimpleProgress textual(PrintStream out,
long total)
ProgressIndicator that reports progress by
printing to the provided stream.
out - the stream to print progress indication to.total - the total count the process will reach.
ProgressIndicator that reports progress by
printing to the provided stream.
public void update(boolean incremental,
long value)
ProgressIndicator
update in interface ProgressIndicatorincremental - whether this is an incremental update (
true) or an absolute assignment (
false) of the progress.value - the count to update the progress with.public void done(long totalProgress)
ProgressIndicator
done in interface ProgressIndicatortotalProgress - the total progress reached by the source.
|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||