Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
FilePreparationThread(BlockingQueue<UploadFileData> preparedFileQueue,
FileUploadManagerThread fileUploadManagerThread,
UploadPolicy uploadPolicy) |
Modifier and Type | Method and Description |
---|---|
int |
getNbFilesToSend() |
int |
getNbPreparedFiles() |
long |
getNbTotalNumberOfPreparedBytes() |
double |
getTotalFileBytesToSend()
Returns the total number of bytes to upload.
|
void |
run()
The actual command to prepare files.
|
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, yield
public FilePreparationThread(BlockingQueue<UploadFileData> preparedFileQueue, FileUploadManagerThread fileUploadManagerThread, UploadPolicy uploadPolicy)
preparedFileQueue
- fileUploadManagerThread
- uploadPolicy
- public final void run()
run
in interface Runnable
run
in class Thread
Thread.run()
,
FileData#beforeUpload()
public double getTotalFileBytesToSend()
public int getNbPreparedFiles()
public int getNbFilesToSend()
public long getNbTotalNumberOfPreparedBytes()
Copyright © 2015. All rights reserved.