Class LivelinkConnector.DocumentReadingThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.manifoldcf.crawler.connectors.livelink.LivelinkConnector.DocumentReadingThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- LivelinkConnector
protected class LivelinkConnector.DocumentReadingThread extends java.lang.ThreadThis thread performs a LAPI FetchVersion command, streaming the resulting document back through a XThreadInputStream to the invoking thread.
-
-
Field Summary
Fields Modifier and Type Field Description protected intdocIDprotected java.lang.Throwableexceptionprotected org.apache.manifoldcf.connectorcommon.common.XThreadInputStreamstreamprotected intversionNumberprotected intvolumeID
-
Constructor Summary
Constructors Constructor Description DocumentReadingThread(int volumeID, int docID, int versionNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinishUp()java.io.InputStreamgetSafeInputStream()voidrun()-
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
-
-
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classjava.lang.Thread
-
getSafeInputStream
public java.io.InputStream getSafeInputStream()
-
finishUp
public void finishUp() throws java.lang.InterruptedException, org.apache.manifoldcf.core.interfaces.ManifoldCFException- Throws:
java.lang.InterruptedExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
-