|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.crawler.frontier.HostQueuesFrontierMarker
public class HostQueuesFrontierMarker
An implementation of URIFrontierMarker suitable for the
URIFrontier implementation in this package.
FrontierMarker,
Frontier,
HostQueuesFrontier| Field Summary | |
|---|---|
protected long |
absolutePositionInCurrentQueue
Deprecated. |
protected int |
currentQueue
Deprecated. |
protected boolean |
hasNext
Deprecated. |
protected boolean |
inCacheOnly
Deprecated. |
protected java.util.ArrayList |
keyQueues
Deprecated. |
(package private) java.lang.String |
match
Deprecated. |
protected long |
nextItemNumber
Deprecated. |
(package private) java.util.regex.Pattern |
p
Deprecated. |
| Constructor Summary | |
|---|---|
HostQueuesFrontierMarker(java.lang.String match,
boolean inCacheOnly,
java.util.ArrayList keyqueues)
Deprecated. |
|
| Method Summary | |
|---|---|
long |
getAbsolutePositionInCurrentQueue()
Deprecated. |
int |
getCurrentQueue()
Deprecated. |
java.util.ArrayList |
getKeyQueues()
Deprecated. |
java.lang.String |
getMatchExpression()
Deprecated. Returns the regular expression that this marker uses. |
long |
getNextItemNumber()
Deprecated. Returns the number of the next match after the marker. |
boolean |
hasNext()
Deprecated. Returns false if no more URIs can be found matching the expression beyond those already covered. |
void |
incrementNextItemNumber()
Deprecated. Increment next item number. |
boolean |
isInCacheOnly()
Deprecated. |
boolean |
match(CandidateURI caURI)
Deprecated. |
void |
nextQueue()
Deprecated. |
void |
setAbsolutePositionInCurrentQueue(long absolutePositionInCurrentQueue)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.String match
java.util.regex.Pattern p
protected boolean inCacheOnly
protected boolean hasNext
protected long nextItemNumber
protected java.util.ArrayList keyQueues
protected int currentQueue
protected long absolutePositionInCurrentQueue
| Constructor Detail |
|---|
public HostQueuesFrontierMarker(java.lang.String match,
boolean inCacheOnly,
java.util.ArrayList keyqueues)
| Method Detail |
|---|
public void nextQueue()
public boolean match(CandidateURI caURI)
public long getNextItemNumber()
FrontierMarker
getNextItemNumber in interface FrontierMarkerpublic void incrementNextItemNumber()
public java.lang.String getMatchExpression()
FrontierMarker
getMatchExpression in interface FrontierMarkerpublic boolean hasNext()
FrontierMarker
hasNext in interface FrontierMarkerpublic int getCurrentQueue()
public java.util.ArrayList getKeyQueues()
public long getAbsolutePositionInCurrentQueue()
public boolean isInCacheOnly()
public void setAbsolutePositionInCurrentQueue(long absolutePositionInCurrentQueue)
absolutePositionInCurrentQueue - The absolutePositionInCurrentQueue
to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||