protected class DropboxRepositoryConnector.BackgroundStreamThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected boolean |
abortThread |
protected String |
nodeId |
protected Throwable |
responseException |
protected InputStream |
sourceStream |
protected XThreadInputStream |
threadStream |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
DropboxRepositoryConnector.BackgroundStreamThread(String nodeId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkException(Throwable exception) |
void |
finishUp() |
InputStream |
getSafeInputStream() |
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, yieldprotected final String nodeId
protected boolean abortThread
protected Throwable responseException
protected InputStream sourceStream
protected XThreadInputStream threadStream
public DropboxRepositoryConnector.BackgroundStreamThread(String nodeId)
public InputStream getSafeInputStream() throws InterruptedException, IOException, com.dropbox.client2.exception.DropboxException
InterruptedExceptionIOExceptioncom.dropbox.client2.exception.DropboxExceptionpublic void finishUp()
throws InterruptedException,
IOException,
com.dropbox.client2.exception.DropboxException
InterruptedExceptionIOExceptioncom.dropbox.client2.exception.DropboxExceptionprotected void checkException(Throwable exception) throws IOException, com.dropbox.client2.exception.DropboxException
IOExceptioncom.dropbox.client2.exception.DropboxException