public class IndefiniteProgress extends AbstractProgress
Modifier and Type | Field and Description |
---|---|
private boolean |
completed
Store completion flag.
|
Constructor and Description |
---|
IndefiniteProgress(String task,
Logging logger)
Constructor with logging.
|
Modifier and Type | Method and Description |
---|---|
StringBuilder |
appendToBuffer(StringBuilder buf)
Serialize 'indefinite' progress.
|
boolean |
isComplete()
Return whether the progress is complete
|
void |
setCompleted(Logging logger)
Set the completion flag and log it
|
getProcessed, getTask, incrementProcessed, setProcessed, setProcessed, testLoggingRate, toString
public StringBuilder appendToBuffer(StringBuilder buf)
appendToBuffer
in interface Progress
appendToBuffer
in class AbstractProgress
buf
- Buffer to serialize topublic boolean isComplete()
public void setCompleted(Logging logger)
logger
- Logger to report to.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.