org.archive.wayback.resourceindex.distributed
Class RangeMember
java.lang.Object
org.archive.wayback.resourceindex.distributed.RangeMember
- All Implemented Interfaces:
- ResourceIndex
public class RangeMember
- extends java.lang.Object
- implements ResourceIndex
- Version:
- $Date$, $Revision$
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNUSABLE_WEIGHT
protected static int UNUSABLE_WEIGHT
RangeMember
public RangeMember()
getWeight
protected int getWeight()
noteConnectionStart
protected void noteConnectionStart()
noteConnectionSuccess
protected void noteConnectionSuccess()
noteConnectionFailure
protected void noteConnectionFailure()
query
public SearchResults query(WaybackRequest wbRequest)
throws ResourceIndexNotAvailableException,
ResourceNotInArchiveException,
BadQueryException,
AccessControlException
- Description copied from interface:
ResourceIndex
- Transform a WMRequest into a ResourceResults.
- Specified by:
query in interface ResourceIndex
- Returns:
- ResourceResults containing ResourceResult objects matching the
WMRequest
- Throws:
ResourceIndexNotAvailableException
ResourceNotInArchiveException
BadQueryException
AccessControlException
getUrlBase
public java.lang.String getUrlBase()
- Returns:
- Returns the urlBase.
setUrlBase
public void setUrlBase(java.lang.String urlBase)
- Parameters:
urlBase - the urlBase to set
shutdown
public void shutdown()
throws java.io.IOException
- Specified by:
shutdown in interface ResourceIndex
- Throws:
java.io.IOException
Copyright © 2005-2009 Internet Archive. All Rights Reserved.