public class ProgressLogger extends Object
up()is called a number k of times, so when:
status % k == 0
Constructor and Description |
---|
ProgressLogger()
Creates a progress logger, the print frequency is initialized using the system property
logat . |
ProgressLogger(int logFrequency)
Creates a progress logger.
|
ProgressLogger(String logDesc)
Creates a progress logger.
|
ProgressLogger(String logDesc,
int logFrequency)
Creates a progress logger.
|
public ProgressLogger()
logat
. If logat
is not set no progress will be print.public ProgressLogger(int logFrequency)
logFrequency
- the print frequency.public ProgressLogger(String logDesc, int logFrequency)
logDesc
- the message to print, the string {}
will be
replaced with the number of times that up()
has been called.logFrequency
- the print frequency.public ProgressLogger(String logDesc)
logat
. If logat
is not set no progress will be print.logDesc
- the message to print, the string {}
will be
replaced with the number of times that up()
has been called.Copyright © 2013. All rights reserved.