org.opencms.search
Class CmsSearchManager.CmsSearchOfflineIndexWorkThread
java.lang.Object
java.lang.Thread
org.opencms.search.CmsSearchManager.CmsSearchOfflineIndexWorkThread
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- CmsSearchManager
protected class CmsSearchManager.CmsSearchOfflineIndexWorkThread
- extends 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.
|
Method Summary |
void |
run()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, 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 |
CmsSearchManager.CmsSearchOfflineIndexWorkThread
protected CmsSearchManager.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 of CmsPublishedResource objects to index
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
- See Also:
Thread.run()