public class FilesWritingProgressChecker
extends java.lang.Thread
| Constructor and Description |
|---|
FilesWritingProgressChecker(org.processmining.framework.plugin.PluginContext context,
java.io.File directory,
int totalFilesNum,
int fileCounterDelta,
java.lang.String message)
Create a worker thread for showing the progress of a process that writes a bunch of files in a directory every
5 seconds.
|
FilesWritingProgressChecker(org.processmining.framework.plugin.PluginContext context,
java.io.File directory,
int totalFilesNum,
int fileCounterDelta,
java.lang.String message,
int delayMillisecs)
Create a worker thread for showing the progress of a process that writes a bunch of files in a directory each
time that the given amount of milliseconds passes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic FilesWritingProgressChecker(org.processmining.framework.plugin.PluginContext context,
java.io.File directory,
int totalFilesNum,
int fileCounterDelta,
java.lang.String message)
context - The context where the plug-in runs.directory - The directory where the files to be counted are saved by the process.totalFilesNum - The total number of files to be written.message - The message to be displayed beside the file counter.public FilesWritingProgressChecker(org.processmining.framework.plugin.PluginContext context,
java.io.File directory,
int totalFilesNum,
int fileCounterDelta,
java.lang.String message,
int delayMillisecs)
context - The context where the plug-in runs.directory - The directory where the files to be counted are saved by the process.totalFilesNum - The total number of files to be written.message - The message to be displayed beside the file counter.delayMillisecs - The delay after which the thread show the progress.