protected class DropboxRepositoryConnector.BackgroundStreamThread
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
abortThread |
protected java.lang.String |
nodeId |
protected java.lang.Throwable |
responseException |
protected java.io.InputStream |
sourceStream |
protected org.apache.manifoldcf.connectorcommon.common.XThreadInputStream |
threadStream |
| Constructor and Description |
|---|
BackgroundStreamThread(java.lang.String nodeId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkException(java.lang.Throwable exception) |
void |
finishUp() |
java.io.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 java.lang.String nodeId
protected boolean abortThread
protected java.lang.Throwable responseException
protected java.io.InputStream sourceStream
protected org.apache.manifoldcf.connectorcommon.common.XThreadInputStream threadStream
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic java.io.InputStream getSafeInputStream()
throws java.lang.InterruptedException,
java.io.IOException,
com.dropbox.client2.exception.DropboxException
java.lang.InterruptedExceptionjava.io.IOExceptioncom.dropbox.client2.exception.DropboxExceptionpublic void finishUp()
throws java.lang.InterruptedException,
java.io.IOException,
com.dropbox.client2.exception.DropboxException
java.lang.InterruptedExceptionjava.io.IOExceptioncom.dropbox.client2.exception.DropboxExceptionprotected void checkException(java.lang.Throwable exception)
throws java.io.IOException,
com.dropbox.client2.exception.DropboxException
java.io.IOExceptioncom.dropbox.client2.exception.DropboxException