public class OmniDataSegmentArchiver extends Object implements DataSegmentArchiver
| Constructor and Description |
|---|
OmniDataSegmentArchiver(Map<String,DataSegmentArchiver> archivers) |
| Modifier and Type | Method and Description |
|---|---|
DataSegment |
archive(DataSegment segment) |
Map<String,DataSegmentArchiver> |
getArchivers() |
DataSegment |
restore(DataSegment segment) |
@Inject public OmniDataSegmentArchiver(Map<String,DataSegmentArchiver> archivers)
public DataSegment archive(DataSegment segment) throws SegmentLoadingException
archive in interface DataSegmentArchiverSegmentLoadingExceptionpublic DataSegment restore(DataSegment segment) throws SegmentLoadingException
restore in interface DataSegmentArchiverSegmentLoadingExceptionpublic Map<String,DataSegmentArchiver> getArchivers()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.