Package org.opencms.search
Class CmsSearchManager.CmsSearchOfflineIndexWorkThread
java.lang.Object
java.lang.Thread
org.opencms.search.CmsSearchManager.CmsSearchOfflineIndexWorkThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
- CmsSearchManager
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ModifierConstructorDescriptionprotected
CmsSearchOfflineIndexWorkThread
(I_CmsReport report, List<CmsPublishedResource> resourcesToIndex) Updates the offline search indexes for the given list of resources. -
Method Summary
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 Details
-
CmsSearchOfflineIndexWorkThread
protected CmsSearchOfflineIndexWorkThread(I_CmsReport report, 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 Details