Package org.opencms.search
Class CmsSearchManager.CmsSearchOfflineIndexWorkThread
- java.lang.Object
-
- java.lang.Thread
-
- org.opencms.search.CmsSearchManager.CmsSearchOfflineIndexWorkThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- CmsSearchManager
protected class CmsSearchManager.CmsSearchOfflineIndexWorkThread extends java.lang.Thread
An offline index worker Thread runs each time for every offline index update action.This was decoupled from the main
CmsSearchManager.CmsSearchOfflineIndexThread
in order to avoid problems if a single operation "hangs" the Tread.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsSearchOfflineIndexWorkThread(I_CmsReport report, java.util.List<CmsPublishedResource> resourcesToIndex)
Updates the offline search indexes for the given list of resources.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
CmsSearchOfflineIndexWorkThread
protected CmsSearchOfflineIndexWorkThread(I_CmsReport report, java.util.List<CmsPublishedResource> resourcesToIndex)
Updates the offline search indexes for the given list of resources.- Parameters:
report
- the report to write the index information toresourcesToIndex
- the list ofCmsPublishedResource
objects to index
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
- See Also:
Thread.run()
-
-