|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.wayback.resourceindex.distributed.RangeGroup
public class RangeGroup
| Constructor Summary | |
|---|---|
RangeGroup(String name,
String start,
String end)
Constructor |
|
| Method Summary | |
|---|---|
protected RangeMember |
findBestMember()
|
static Comparator<RangeGroup> |
getComparator()
|
String |
getEnd()
|
String |
getName()
|
String |
getStart()
|
SearchResults |
query(WaybackRequest wbRequest)
Transform a WaybackRequest into a ResourceResults. |
void |
setMembers(String[] urls)
Update the list of members of this group. |
void |
shutdown()
Release any resources used by this ResourceIndex cleanly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RangeGroup(String name,
String start,
String end)
name - start - end - | Method Detail |
|---|
public void setMembers(String[] urls)
urls -
public SearchResults query(WaybackRequest wbRequest)
throws ResourceIndexNotAvailableException,
ResourceNotInArchiveException,
BadQueryException,
AccessControlException
ResourceIndex
query in interface ResourceIndexwbRequest - WaybackRequest object from RequestParser
ResourceIndexNotAvailableException - if the ResourceIndex
is not available (remote host down, local files missing, etc)
ResourceNotInArchiveException - if the ResourceIndex could be
contacted, but no SearchResult objects matched the request
BadQueryException - if the WaybackRequest is lacking information
required to make a reasonable search of this ResourceIndex
AccessControlException - if SearchResult objects actually matched,
but could not be returned due to AccessControl restrictions
(robots.txt documents, Administrative URL blocks, etc)protected RangeMember findBestMember()
public String getEnd()
public String getName()
public String getStart()
public static Comparator<RangeGroup> getComparator()
public void shutdown()
throws IOException
ResourceIndex
shutdown in interface ResourceIndexIOException - for usual causes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||