| java.lang.Object websphinx.CrawlEvent
CrawlEvent | public class CrawlEvent (Code) | | Crawling event. CrawlEvents are broadcast when the
crawler starts, stops, or clears its state.
|
Field Summary | |
final public static int | CLEARED Crawler's state was cleared. | final public static int | PAUSED Crawler was paused. | final public static int | STARTED Crawler started. | final public static int | STOPPED | final public static int | TIMED_OUT Crawler timeout expired. |
CLEARED | final public static int CLEARED(Code) | | Crawler's state was cleared.
|
PAUSED | final public static int PAUSED(Code) | | Crawler was paused.
|
STARTED | final public static int STARTED(Code) | | Crawler started.
|
STOPPED | final public static int STOPPED(Code) | | Crawler ran out of links to crawl
|
TIMED_OUT | final public static int TIMED_OUT(Code) | | Crawler timeout expired.
|
CrawlEvent | public CrawlEvent(Crawler crawler, int id)(Code) | | Make a CrawlEvent.
Parameters: crawler - Crawler that generated this event Parameters: id - event id (one of STARTED, STOPPED, etc.) |
getCrawler | public Crawler getCrawler()(Code) | | Get crawler that generated the event
crawler |
getID | public int getID()(Code) | | Get event id.
one of STARTED, STOPPED, CLEARED, TIMED_OUT,or PAUSED. |
|
|