public class S3DataSegmentArchiver extends S3DataSegmentMover implements DataSegmentArchiver
| Constructor and Description |
|---|
S3DataSegmentArchiver(org.jets3t.service.impl.rest.httpclient.RestS3Service s3Client,
S3DataSegmentArchiverConfig archiveConfig,
S3DataSegmentPusherConfig restoreConfig) |
| Modifier and Type | Method and Description |
|---|---|
DataSegment |
archive(DataSegment segment) |
DataSegment |
restore(DataSegment segment) |
move@Inject
public S3DataSegmentArchiver(org.jets3t.service.impl.rest.httpclient.RestS3Service s3Client,
S3DataSegmentArchiverConfig archiveConfig,
S3DataSegmentPusherConfig restoreConfig)
public DataSegment archive(DataSegment segment) throws SegmentLoadingException
archive in interface DataSegmentArchiverSegmentLoadingExceptionpublic DataSegment restore(DataSegment segment) throws SegmentLoadingException
restore in interface DataSegmentArchiverSegmentLoadingExceptionCopyright © 2011–2016. All rights reserved.