public class IndefiniteProgress extends AbstractProgress
Modifier and Type | Field and Description |
---|---|
private boolean |
completed
Store completion flag.
|
ratems
Constructor and Description |
---|
IndefiniteProgress(java.lang.String task)
Constructor.
|
IndefiniteProgress(java.lang.String task,
Logging logger)
Constructor with logging.
|
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuilder |
appendToBuffer(java.lang.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 IndefiniteProgress(java.lang.String task)
task
- Task name.public IndefiniteProgress(java.lang.String task, Logging logger)
task
- Task name.logger
- Logger to report topublic java.lang.StringBuilder appendToBuffer(java.lang.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 © 2019 ELKI Development Team. License information.