|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--faust.sacha.web.bot.spider.event.ThreadEventManager
|
+--faust.sacha.web.bot.spider.event.ThreadManager
| Field Summary | |
static java.lang.String |
PROPERTY_FILE_LOCATION
|
static java.lang.String |
PROPERTY_FILE_NAME
|
| Fields inherited from class faust.sacha.web.bot.spider.event.ThreadEventManager |
m_state |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ThreadManager()
|
|
| Method Summary | |
void |
addThread()
|
void |
canCreateThread()
|
int |
getNbThreads()
|
void |
initProperties()
|
void |
removeThread()
|
void |
run()
|
void |
stopThreads()
|
| Methods inherited from class faust.sacha.web.bot.spider.event.ThreadEventManager |
addToListeners, getState, receiveEvent, sendEvent, sendEventAll, setState, stopAllListenningThreads |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 |
| Field Detail |
public static final java.lang.String PROPERTY_FILE_NAME
public static final java.lang.String PROPERTY_FILE_LOCATION
| Constructor Detail |
public ThreadManager()
| Method Detail |
public void initProperties()
public void run()
run in interface java.lang.Runnablerun in class ThreadEventManagerpublic int getNbThreads()
public void addThread()
public void removeThread()
public void canCreateThread()
public void stopThreads()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||