org.archive.wayback.liveweb
Class LiveWebCache
java.lang.Object
org.archive.wayback.liveweb.LiveWebCache
public class LiveWebCache
- extends java.lang.Object
- Version:
- $Date$, $Revision$
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiveWebCache
public LiveWebCache()
shutdown
public void shutdown()
- closes all resources
getCachedResource
public Resource getCachedResource(java.net.URL url,
long maxCacheMS,
boolean bUseOlder)
throws LiveDocumentNotAvailableException,
java.io.IOException
- Parameters:
url - maxCacheMS - bUseOlder -
- Returns:
- Resource for url
- Throws:
LiveDocumentNotAvailableException
java.io.IOException
getMaxFailedCacheMS
public long getMaxFailedCacheMS()
- Returns:
- the maxFailedCacheMS
setMaxFailedCacheMS
public void setMaxFailedCacheMS(long maxFailedCacheMS)
- Parameters:
maxFailedCacheMS - the maxFailedCacheMS to set
getArcCacheDir
public ARCCacheDirectory getArcCacheDir()
- Returns:
- the arcCacheDir
setArcCacheDir
public void setArcCacheDir(ARCCacheDirectory arcCacheDir)
- Parameters:
arcCacheDir - the arcCacheDir to set
getCacher
public URLCacher getCacher()
- Returns:
- the cacher
setCacher
public void setCacher(URLCacher cacher)
- Parameters:
cacher - the cacher to set
getIndex
public LiveWebLocalResourceIndex getIndex()
- Returns:
- the index
setIndex
public void setIndex(LiveWebLocalResourceIndex index)
- Parameters:
index - the index to set
getCanonicalizer
public UrlCanonicalizer getCanonicalizer()
setCanonicalizer
public void setCanonicalizer(UrlCanonicalizer canonicalizer)
Copyright © 2005-2009 Internet Archive. All Rights Reserved.