Package org.codelibs.fess.helper
Class DataIndexHelper.DataCrawlingThread
- java.lang.Object
-
- java.lang.Thread
-
- org.codelibs.fess.helper.DataIndexHelper.DataCrawlingThread
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- DataIndexHelper
protected static class DataIndexHelper.DataCrawlingThread extends Thread
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanfinishedprotected booleanrunning-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDataCrawlingThread(DataConfig dataConfig, IndexUpdateCallback indexUpdateCallback, Map<String,String> initParamMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidawaitTermination()voidawaitTermination(long mills)StringgetCrawlingInfoId()booleanisFinished()booleanisRunning()protected voidprocess()voidrun()voidstopCrawling()-
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
-
DataCrawlingThread
protected DataCrawlingThread(DataConfig dataConfig, IndexUpdateCallback indexUpdateCallback, Map<String,String> initParamMap)
-
-
Method Detail
-
process
protected void process()
-
isFinished
public boolean isFinished()
-
stopCrawling
public void stopCrawling()
-
getCrawlingInfoId
public String getCrawlingInfoId()
-
isRunning
public boolean isRunning()
-
awaitTermination
public void awaitTermination()
-
awaitTermination
public void awaitTermination(long mills)
-
-