public class ProcessProgressHelper extends Object
Constructor and Description |
---|
ProcessProgressHelper(org.apache.log4j.Logger logger,
int total) |
ProcessProgressHelper(org.apache.log4j.Logger logger,
int total,
boolean outputTimeCheck) |
Modifier and Type | Method and Description |
---|---|
Double |
getCompletionPerc() |
int |
getProcessed() |
void |
increment() |
void |
increment(int value) |
void |
reset(int processed,
int total) |
void |
setLogging(boolean enabled) |
void |
setPercentualEchoStep(double step) |
void |
updateTotal(int total) |
public ProcessProgressHelper(org.apache.log4j.Logger logger, int total)
public ProcessProgressHelper(org.apache.log4j.Logger logger, int total, boolean outputTimeCheck)
public void setLogging(boolean enabled)
public void increment()
public int getProcessed()
public void increment(int value)
public void updateTotal(int total)
public void reset(int processed, int total)
public Double getCompletionPerc()
public void setPercentualEchoStep(double step)