Class DCTM.ProcessDocumentThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    DCTM

    protected class DCTM.ProcessDocumentThread
    extends java.lang.Thread
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • documentIdentifier

        protected final java.lang.String documentIdentifier
      • 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 interface java.lang.Runnable
        Overrides:
        run in class java.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()