Class DCTM.ProcessDocumentThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.manifoldcf.crawler.connectors.DCTM.DCTM.ProcessDocumentThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- DCTM
protected class DCTM.ProcessDocumentThread extends java.lang.Thread
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanabortprotected java.lang.LongactivityFileLengthprotected java.lang.StringactivityMessageprotected java.lang.LongactivityStartTimeprotected java.lang.StringactivityStatusprotected java.lang.LongcontentSizeprotected java.lang.StringcontentTypeprotected java.lang.StringdocumentIdentifierprotected java.lang.Throwableexceptionprotected java.io.FileobjFileTempprotected org.apache.manifoldcf.agents.interfaces.RepositoryDocumentrvalprotected DCTM.SpecInfosDescprotected booleanstartFetchprotected booleanthreadExitprotected java.lang.Stringuriprotected booleanversionPartDoneprotected java.lang.StringversionString
-
Constructor Summary
Constructors Constructor Description ProcessDocumentThread(java.lang.String documentIdentifier, DCTM.SpecInfo sDesc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.manifoldcf.agents.interfaces.RepositoryDocumentfinishUp()voidfinishWithoutFetch()java.lang.LonggetActivityFileLength()java.lang.StringgetActivityMessage()java.lang.LonggetActivityStartTime()java.lang.StringgetActivityStatus()java.lang.LonggetContentSize()java.lang.StringgetContentType()java.lang.StringgetURI()java.lang.StringgetVersionString()voidrun()voidstartFetch(java.io.File objFileTemp)-
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
-
-
-
-
Field Detail
-
documentIdentifier
protected final java.lang.String documentIdentifier
-
sDesc
protected final DCTM.SpecInfo sDesc
-
versionPartDone
protected volatile boolean versionPartDone
-
threadExit
protected volatile boolean threadExit
-
startFetch
protected volatile boolean startFetch
-
abort
protected volatile boolean abort
-
objFileTemp
protected java.io.File objFileTemp
-
exception
protected java.lang.Throwable exception
-
versionString
protected java.lang.String versionString
-
rval
protected org.apache.manifoldcf.agents.interfaces.RepositoryDocument rval
-
activityStartTime
protected java.lang.Long activityStartTime
-
activityFileLength
protected java.lang.Long activityFileLength
-
activityStatus
protected java.lang.String activityStatus
-
activityMessage
protected java.lang.String activityMessage
-
uri
protected java.lang.String uri
-
contentType
protected java.lang.String contentType
-
contentSize
protected java.lang.Long contentSize
-
-
Constructor Detail
-
ProcessDocumentThread
public ProcessDocumentThread(java.lang.String documentIdentifier, DCTM.SpecInfo sDesc)
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classjava.lang.Thread
-
getVersionString
public java.lang.String getVersionString() throws java.rmi.RemoteException, DocumentumException, java.lang.InterruptedException- Throws:
java.rmi.RemoteExceptionDocumentumExceptionjava.lang.InterruptedException
-
startFetch
public void startFetch(java.io.File objFileTemp)
-
finishWithoutFetch
public void finishWithoutFetch() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
finishUp
public org.apache.manifoldcf.agents.interfaces.RepositoryDocument finishUp() throws java.rmi.RemoteException, DocumentumException, java.lang.InterruptedException, org.apache.manifoldcf.core.interfaces.ManifoldCFException- Throws:
java.rmi.RemoteExceptionDocumentumExceptionjava.lang.InterruptedExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getContentSize
public java.lang.Long getContentSize()
-
getContentType
public java.lang.String getContentType()
-
getActivityStartTime
public java.lang.Long getActivityStartTime()
-
getActivityFileLength
public java.lang.Long getActivityFileLength()
-
getActivityStatus
public java.lang.String getActivityStatus()
-
getActivityMessage
public java.lang.String getActivityMessage()
-
getURI
public java.lang.String getURI()
-
-