public class ProgressFileReader extends Object
Instances of this class are NOT thread-safe.
Modifier and Type | Class and Description |
---|---|
static interface |
ProgressFileReader.Listener |
class |
ProgressFileReader.ProgressFileReaderThread |
Constructor and Description |
---|
ProgressFileReader() |
Modifier and Type | Method and Description |
---|---|
int |
getProgress() |
Path |
getProgressFile() |
void |
register(ProgressFileReader.Listener listener) |
boolean |
start(File workingDir,
TaskId taskId) |
void |
stop() |
void |
unregister(ProgressFileReader.Listener listener) |
public int getProgress()
public Path getProgressFile()
public void register(ProgressFileReader.Listener listener)
public void unregister(ProgressFileReader.Listener listener)
public void stop()