public class SegmentProcessingThread
extends java.lang.Thread
Constructor and Description |
---|
SegmentProcessingThread(SegmentsDownloader segmentsDownloader) |
Modifier and Type | Method and Description |
---|---|
void |
cancelCurrentDownload() |
int |
getClientBandwidth() |
long |
getNumberOfBytesDownloaded() |
void |
resetCancelDownload() |
void |
run() |
void |
stopThread() |
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 SegmentProcessingThread(SegmentsDownloader segmentsDownloader)
public void stopThread()
public long getNumberOfBytesDownloaded()
public void resetCancelDownload()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public int getClientBandwidth()
public void cancelCurrentDownload()