public class HBaseSnapshotsLocator extends BaseSnapshotsLocator implements SnapshotsLocator, Closeable
| Constructor and Description |
|---|
HBaseSnapshotsLocator(org.apache.hadoop.conf.Configuration conf,
com.codahale.metrics.MetricRegistry metrics) |
HBaseSnapshotsLocator(org.apache.hadoop.conf.Configuration conf,
org.archive.url.URLKeyMaker keyMaker,
com.codahale.metrics.MetricRegistry metrics) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected List<SnaphotLocation> |
findInternal(String surt) |
protected Optional<SnaphotLocation> |
findOneInternal(String surt,
ZonedDateTime crawlTime) |
findLocation, findLocationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindLocation, findLocationspublic HBaseSnapshotsLocator(org.apache.hadoop.conf.Configuration conf,
com.codahale.metrics.MetricRegistry metrics)
throws IOException
IOExceptionpublic HBaseSnapshotsLocator(org.apache.hadoop.conf.Configuration conf,
org.archive.url.URLKeyMaker keyMaker,
com.codahale.metrics.MetricRegistry metrics)
throws IOException
IOExceptionprotected Optional<SnaphotLocation> findOneInternal(String surt, ZonedDateTime crawlTime) throws IOException
findOneInternal in class BaseSnapshotsLocatorIOExceptionprotected List<SnaphotLocation> findInternal(String surt) throws IOException
findInternal in class BaseSnapshotsLocatorIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017. All rights reserved.