|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--spider.crawl.ActiveThreads
keeping track of crawler threads so that they can be stopped when none of them have further URLs to crawl
Constructor Summary | |
ActiveThreads()
|
Method Summary | |
int |
add()
add to active thread count |
int |
get()
get the latest active threads count |
int |
subtract()
subtract from the current active threads count |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActiveThreads()
Method Detail |
public int add()
public int subtract()
public int get()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |