public abstract class BaseSnapshotsLocator extends Object implements SnapshotsLocator
| Constructor and Description |
|---|
BaseSnapshotsLocator(org.archive.url.URLKeyMaker keyMaker,
com.codahale.metrics.MetricRegistry metrics) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<SnaphotLocation> |
findInternal(String surt) |
Optional<SnaphotLocation> |
findLocation(String url,
ZonedDateTime crawlTime) |
Iterable<SnaphotLocation> |
findLocations(String url) |
protected abstract Optional<SnaphotLocation> |
findOneInternal(String surt,
ZonedDateTime crawlTime) |
public BaseSnapshotsLocator(org.archive.url.URLKeyMaker keyMaker,
com.codahale.metrics.MetricRegistry metrics)
public Iterable<SnaphotLocation> findLocations(String url)
findLocations in interface SnapshotsLocatorpublic Optional<SnaphotLocation> findLocation(String url, ZonedDateTime crawlTime)
findLocation in interface SnapshotsLocatorprotected abstract List<SnaphotLocation> findInternal(String surt) throws IOException
IOExceptionprotected abstract Optional<SnaphotLocation> findOneInternal(String surt, ZonedDateTime crawlTime) throws IOException
IOExceptionCopyright © 2017. All rights reserved.