Class GenericConnector.DocumentVersionThread

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

    protected static class GenericConnector.DocumentVersionThread
    extends java.lang.Thread
    • Nested Class Summary

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

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.http.client.HttpClient client  
      protected java.lang.String defaultRights  
      protected java.util.concurrent.ConcurrentHashMap<java.lang.String,​Item> documentCache  
      protected java.lang.String[] documentIdentifiers  
      protected java.lang.Throwable exception  
      protected java.lang.String genericAuthMode  
      protected java.lang.String url  
      protected java.lang.String[] versions  
      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentVersionThread​(org.apache.http.client.HttpClient client, java.lang.String url, java.lang.String[] documentIdentifiers, java.lang.String genericAuthMode, java.lang.String defaultRights, java.util.concurrent.ConcurrentHashMap<java.lang.String,​Item> documentCache)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] finishUp()  
      void run()  
      • 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

      • client

        protected final org.apache.http.client.HttpClient client
      • url

        protected final java.lang.String url
      • exception

        protected java.lang.Throwable exception
      • versions

        protected final java.lang.String[] versions
      • documentCache

        protected final java.util.concurrent.ConcurrentHashMap<java.lang.String,​Item> documentCache
      • documentIdentifiers

        protected final java.lang.String[] documentIdentifiers
      • genericAuthMode

        protected final java.lang.String genericAuthMode
      • defaultRights

        protected final java.lang.String defaultRights
    • Constructor Detail

      • DocumentVersionThread

        public DocumentVersionThread​(org.apache.http.client.HttpClient client,
                                     java.lang.String url,
                                     java.lang.String[] documentIdentifiers,
                                     java.lang.String genericAuthMode,
                                     java.lang.String defaultRights,
                                     java.util.concurrent.ConcurrentHashMap<java.lang.String,​Item> documentCache)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread
      • finishUp

        public java.lang.String[] finishUp()
                                    throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
                                           org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                           java.io.IOException,
                                           java.lang.InterruptedException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        java.io.IOException
        java.lang.InterruptedException