public class IndefiniteProgress extends AbstractProgress
Modifier and Type | Field and Description |
---|---|
private boolean |
completed
Store completion flag.
|
Constructor and Description |
---|
IndefiniteProgress(String task)
Deprecated.
|
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()
Deprecated.
|
void |
setCompleted(Logging logger)
Set the completion flag and log it
|
getProcessed, getTask, incrementProcessed, incrementProcessed, setProcessed, setProcessed, testLoggingRate, toString
@Deprecated public IndefiniteProgress(String task)
task
- Task name.public StringBuilder appendToBuffer(StringBuilder buf)
appendToBuffer
in interface Progress
appendToBuffer
in class AbstractProgress
buf
- Buffer to serialize topublic boolean isComplete()
@Deprecated public void setCompleted()
public void setCompleted(Logging logger)
logger
- Logger to report to.