org.archive.wayback.webapp
Class WaybackCollection
java.lang.Object
org.archive.wayback.webapp.WaybackCollection
public class WaybackCollection
- extends Object
Composite class containing a ResourceStore, and a ResourceIndex, to simplify
sharing them as a pair across multiple AccessPoints.
- Version:
- $Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WaybackCollection
public WaybackCollection()
shutdown
public void shutdown()
throws IOException
- close/release any resources held by this WaybackCollection
- Throws:
IOException - when thrown by an internal class being shut down.
getResourceStore
public ResourceStore getResourceStore()
throws ConfigurationException
- Returns:
- the ResourceStore used with this WaybackCollection
- Throws:
ConfigurationException - if none is configured
setResourceStore
public void setResourceStore(ResourceStore resourceStore)
- Parameters:
resourceStore - the ResourceStore to use with this WaybackCollection
getResourceIndex
public ResourceIndex getResourceIndex()
throws ConfigurationException
- Returns:
- the ResourceIndex used with this WaybackCollection
- Throws:
ConfigurationException - if none is configured
setResourceIndex
public void setResourceIndex(ResourceIndex resourceIndex)
- Parameters:
resourceIndex - the ResourceIndex to use with this WaybackCollection
getShutdownables
public List<Shutdownable> getShutdownables()
- Returns:
- List of Shutdownable objects associated with this
WaybackCollection, or null, if none are configured
setShutdownables
public void setShutdownables(List<Shutdownable> shutdownables)
- Parameters:
shutdownables - set a List of Shutdownable objects associated with
this WaybackCollection
Copyright © 2005-2011 Internet Archive. All Rights Reserved.