| org.archive.crawler.framework.FrontierMarker
FrontierMarker | public interface FrontierMarker (Code) | | A marker is a pointer to a place somewhere inside a frontier's list of
pending URIs. URIFrontiers use them to allow outside classes (UI for
example) to hold (effectively) pointers into the abstract list of pending
URIs inside the frontier. If the crawl is not paused (i.e. running) the
marker will instantly become out of date.
author: Kristinn Sigurdsson |
Method Summary | |
public String | getMatchExpression() Returns the regular expression that this marker uses. | public long | getNextItemNumber() Returns the number of the next match after the marker. | public boolean | hasNext() Returns false if no more URIs can be found matching the expression
beyond those already covered. |
getMatchExpression | public String getMatchExpression()(Code) | | Returns the regular expression that this marker uses.
the regular expression that this marker uses |
getNextItemNumber | public long getNextItemNumber()(Code) | | Returns the number of the next match after the marker.
Alternatively this can be viewed as n-1, where n is the number of items
found before the marker.
the number of the next match after the marker |
hasNext | public boolean hasNext()(Code) | | Returns false if no more URIs can be found matching the expression
beyond those already covered. True otherwise.
Are there any more matches. |
|
|