org.archive.wayback.resourceindex.distributed
Class RangeMember

java.lang.Object
  extended by org.archive.wayback.resourceindex.distributed.RangeMember
All Implemented Interfaces:
ResourceIndex

public class RangeMember
extends java.lang.Object
implements ResourceIndex

Version:
$Date$, $Revision$
Author:
brad

Field Summary
protected static int UNUSABLE_WEIGHT
           
 
Constructor Summary
RangeMember()
           
 
Method Summary
 java.lang.String getUrlBase()
           
protected  int getWeight()
           
protected  void noteConnectionFailure()
           
protected  void noteConnectionStart()
           
protected  void noteConnectionSuccess()
           
 SearchResults query(WaybackRequest wbRequest)
          Transform a WMRequest into a ResourceResults.
 void setUrlBase(java.lang.String urlBase)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNUSABLE_WEIGHT

protected static int UNUSABLE_WEIGHT
Constructor Detail

RangeMember

public RangeMember()
Method Detail

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.