|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.progress.v0_6.impl.ProgressTracker
public class ProgressTracker
Maintains state about execution progress. It calculates when the next update is due, and provides statistics on execution.
Constructor Summary | |
---|---|
ProgressTracker(int interval)
Creates a new instance. |
Method Summary | |
---|---|
double |
getObjectsPerSecond()
Provides the number of objects processed per second. |
boolean |
updateRequired()
Indicates if an update is due. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgressTracker(int interval)
interval
- The interval between logging progress reports in milliseconds.Method Detail |
---|
public boolean updateRequired()
public double getObjectsPerSecond()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |