protected static class DataIndexHelper.DataCrawlingThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected boolean |
finished |
protected boolean |
running |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
DataCrawlingThread(DataConfig dataConfig,
IndexUpdateCallback indexUpdateCallback,
Map<String,String> initParamMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitTermination() |
void |
awaitTermination(long mills) |
String |
getCrawlingInfoId() |
boolean |
isFinished() |
boolean |
isRunning() |
protected void |
process() |
void |
run() |
void |
stopCrawling() |
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, yieldprotected DataCrawlingThread(DataConfig dataConfig, IndexUpdateCallback indexUpdateCallback, Map<String,String> initParamMap)
protected void process()
public boolean isFinished()
public void stopCrawling()
public String getCrawlingInfoId()
public boolean isRunning()
public void awaitTermination()
public void awaitTermination(long mills)
Copyright © 2009–2017 CodeLibs. All rights reserved.