org.neo4j.helpers
Class ProgressIndicator.UnknownEndProgress
java.lang.Object
org.neo4j.helpers.ProgressIndicator.UnknownEndProgress
- All Implemented Interfaces:
- ProgressIndicator
- Enclosing interface:
- ProgressIndicator
public static class ProgressIndicator.UnknownEndProgress
- extends Object
- implements ProgressIndicator
Progress indicator where the end is unknown. Specify a step size which
means that a means of progress will be printed every step.
- Author:
- Mattias Persson
Method Summary |
void |
done(long totalProgress)
Mark the process as done with the current source. |
void |
update(boolean incremental,
long value)
Update the current progress count for the current source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressIndicator.UnknownEndProgress
public ProgressIndicator.UnknownEndProgress(long stepSize,
String doneMessage)
update
public void update(boolean incremental,
long value)
- Description copied from interface:
ProgressIndicator
- Update the current progress count for the current source.
- Specified by:
update
in interface ProgressIndicator
- Parameters:
incremental
- whether this is an incremental update (
true
) or an absolute assignment (
false
) of the progress.value
- the count to update the progress with.
done
public void done(long totalProgress)
- Description copied from interface:
ProgressIndicator
- Mark the process as done with the current source.
- Specified by:
done
in interface ProgressIndicator
- Parameters:
totalProgress
- the total progress reached by the source.
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.