Class CleanBrokenEntitiesThread
- java.lang.Object
-
- java.lang.Thread
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.EdalThread
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.file.implementation.CleanBrokenEntitiesThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class CleanBrokenEntitiesThread extends EdalThread
Thread to clean brokenPrimaryDataEntity
which where created during upload process.
-
-
Constructor Summary
Constructors Constructor Description CleanBrokenEntitiesThread(PrimaryDataEntity root)
Default constructor.
-
Method Summary
Modifier and Type Method Description void
done()
Finish theCleanBrokenEntitiesThread
an shutdown theScheduler
.org.quartz.Scheduler
getScheduler()
Getter for theScheduler
void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
CleanBrokenEntitiesThread
public CleanBrokenEntitiesThread(PrimaryDataEntity root)
Default constructor.- Parameters:
root
- the directory to start clean process
-
-
Method Detail
-
done
public void done()
Finish theCleanBrokenEntitiesThread
an shutdown theScheduler
.
-
getScheduler
public org.quartz.Scheduler getScheduler()
Getter for theScheduler
- Returns:
- the scheduler
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
-