Ontimize Document Management 0.035EN

com.ontimize.dms.thread
Class UpdateVerificationThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.ontimize.dms.thread.UpdateVerificationThread
All Implemented Interfaces:
java.lang.Runnable

public class UpdateVerificationThread
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
static int DEFAULT_SLEEP_TIME
           
static int DEFAULT_START_TIME
           
protected static java.lang.String MSG_CHECK_TIME
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
UpdateVerificationThread(java.lang.String pathBase)
           
UpdateVerificationThread(java.lang.String pathBase, int timeToSleep)
           
 
Method Summary
 void addUpdateDetectedListener(IUpdateDetected ud)
           
 void clearUpdateDetectedListener()
           
protected  void fireFileChanged(ILocalFileInfo info)
           
 void removeUpdateDetectedListener(IUpdateDetected ud)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_START_TIME

public static int DEFAULT_START_TIME

DEFAULT_SLEEP_TIME

public static int DEFAULT_SLEEP_TIME

MSG_CHECK_TIME

protected static final java.lang.String MSG_CHECK_TIME
See Also:
Constant Field Values
Constructor Detail

UpdateVerificationThread

public UpdateVerificationThread(java.lang.String pathBase)

UpdateVerificationThread

public UpdateVerificationThread(java.lang.String pathBase,
                                int timeToSleep)
Method Detail

run

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

addUpdateDetectedListener

public void addUpdateDetectedListener(IUpdateDetected ud)

clearUpdateDetectedListener

public void clearUpdateDetectedListener()

removeUpdateDetectedListener

public void removeUpdateDetectedListener(IUpdateDetected ud)

fireFileChanged

protected void fireFileChanged(ILocalFileInfo info)

Ontimize Document Management