protected class CmsSearchManager.CmsSearchOfflineIndexThread
extends java.lang.Thread
限定符 | 构造器和说明 |
---|---|
protected |
CmsSearchManager.CmsSearchOfflineIndexThread(CmsSearchManager.CmsSearchOfflineHandler handler)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
protected java.util.List<CmsPublishedResource> |
getResourcesToIndex()
Obtains the list of resource to update in the offline index,
then optimizes the list by removing duplicate entries.
|
CmsWaitHandle |
getWaitHandle()
Gets the wait handle used for signalling when the worker thread has finished.
|
void |
interrupt() |
void |
run() |
protected void |
shutDown()
Shuts down this offline index thread.
|
void |
start() |
protected void |
startOfflineUpdateThread(I_CmsReport report,
java.util.List<CmsPublishedResource> resourcesToIndex)
Updates the offline search indexes for the given list of resources.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
protected CmsSearchManager.CmsSearchOfflineIndexThread(CmsSearchManager.CmsSearchOfflineHandler handler)
handler
- the offline index event handlerpublic CmsWaitHandle getWaitHandle()
public void interrupt()
interrupt
在类中 java.lang.Thread
Thread.interrupt()
public void run()
run
在接口中 java.lang.Runnable
run
在类中 java.lang.Thread
Thread.run()
public void start()
start
在类中 java.lang.Thread
Thread.start()
protected java.util.List<CmsPublishedResource> getResourcesToIndex()
protected void shutDown()
protected void startOfflineUpdateThread(I_CmsReport report, java.util.List<CmsPublishedResource> resourcesToIndex)
report
- the report to write the index information toresourcesToIndex
- the list of CmsPublishedResource
objects to index