Class ZipThread
- java.lang.Object
-
- java.lang.Thread
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.EdalThread
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.ZipThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class ZipThread extends EdalThread
Thread
for generating a ZIP file that contains all object within aPrimaryDataDirectory
. All file types in theZipThread.FILE_TYPES_WITH_COMPRESSION_SUPPORT
list will be compressed with compression level 1. All other file types will just stored (compression level 0) in the ZIP file.
-
-
Constructor Summary
Constructors Constructor Description ZipThread(java.util.concurrent.CountDownLatch countDownLatch, java.util.zip.ZipOutputStream zout, PrimaryDataDirectory directory)
-
Method Summary
Modifier and Type Method Description void
run()
void
stopListThread()
-
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
-
ZipThread
public ZipThread(java.util.concurrent.CountDownLatch countDownLatch, java.util.zip.ZipOutputStream zout, PrimaryDataDirectory directory)
-
-