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 boolean
abort
protected java.lang.Long
activityFileLength
protected java.lang.String
activityMessage
protected java.lang.Long
activityStartTime
protected java.lang.String
activityStatus
protected java.lang.Long
contentSize
protected java.lang.String
contentType
protected java.lang.String
documentIdentifier
protected java.lang.Throwable
exception
protected java.io.File
objFileTemp
protected org.apache.manifoldcf.agents.interfaces.RepositoryDocument
rval
protected DCTM.SpecInfo
sDesc
protected boolean
startFetch
protected boolean
threadExit
protected java.lang.String
uri
protected boolean
versionPartDone
protected java.lang.String
versionString
-
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.RepositoryDocument
finishUp()
void
finishWithoutFetch()
java.lang.Long
getActivityFileLength()
java.lang.String
getActivityMessage()
java.lang.Long
getActivityStartTime()
java.lang.String
getActivityStatus()
java.lang.Long
getContentSize()
java.lang.String
getContentType()
java.lang.String
getURI()
java.lang.String
getVersionString()
void
run()
void
startFetch(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:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
getVersionString
public java.lang.String getVersionString() throws java.rmi.RemoteException, DocumentumException, java.lang.InterruptedException
- Throws:
java.rmi.RemoteException
DocumentumException
java.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.RemoteException
DocumentumException
java.lang.InterruptedException
org.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()
-
-