|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread com.esri.gpt.control.rest.search.SearchThread
public class SearchThread
The Class SearchThread.
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 | |
---|---|
SearchThread(SearchContext context,
String rid,
ASearchEngine engine,
CountDownLatch countDownLatch)
Instantiates a new search thread. |
Method Summary | |
---|---|
void |
addActionListener(ISearchListener listener)
Adds the action listener. |
boolean |
getIsWorking()
Gets the flag indicating if the search is in a working state. |
String |
getRID()
Gets the RID. |
SearchContext |
getSearchContext()
Gets the search context. |
ASearchEngine |
getSearchEngine()
Gets the search engine. |
SearchStatus |
getSearchStatus()
Gets the search status. |
boolean |
isTimeUp()
|
void |
removeActionListener(ISearchListener listener)
Removes the action listener. |
void |
run()
Runs the process. |
void |
runWorker()
Runs the thread process |
void |
setIsWorking(boolean isWorking)
Sets the flag indicating if the search is in a working state. |
void |
setRID(String rid)
Sets the RID. |
void |
setSearchContext(SearchContext searchContext)
Sets the search context. |
void |
setSearchEngine(ASearchEngine searchEngine)
Sets the search engine. |
void |
setSearchStatus(SearchStatus searchStatus)
Sets the search status. |
void |
setTimeUp(boolean timeUp)
Sets the time up. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchThread(SearchContext context, String rid, ASearchEngine engine, CountDownLatch countDownLatch)
context
- the contextrid
- the ridMethod Detail |
---|
public boolean getIsWorking()
public void setIsWorking(boolean isWorking)
isWorking
- true
if the search is workingpublic ASearchEngine getSearchEngine()
public void setSearchEngine(ASearchEngine searchEngine)
searchEngine
- the new search enginepublic String getRID()
public void setRID(String rid)
rid
- the RIDpublic SearchContext getSearchContext()
public void setSearchContext(SearchContext searchContext)
searchContext
- the search contextpublic boolean isTimeUp()
public void setTimeUp(boolean timeUp)
timeUp
- the new time uppublic SearchStatus getSearchStatus()
public void setSearchStatus(SearchStatus searchStatus)
searchStatus
- the search statuspublic void addActionListener(ISearchListener listener)
listener
- the listenerpublic void removeActionListener(ISearchListener listener)
listener
- the listenerpublic void run()
run
in interface Runnable
run
in class Thread
public void runWorker()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |