Interface SegmentFetcher

    • Method Detail

      • fetchSegmentToLocal

        void fetchSegmentToLocal​(URI uri,
                                 File dest)
                          throws Exception
        Fetches a segment from URI location to local.
        Throws:
        Exception
      • fetchUntarSegmentToLocalStreamed

        File fetchUntarSegmentToLocalStreamed​(URI uri,
                                              File dest,
                                              long rateLimit)
                                       throws Exception
        Fetches a segment from URI location and untar to local in a streamed manner
        Throws:
        Exception
      • fetchSegmentToLocal

        void fetchSegmentToLocal​(List<URI> uri,
                                 File dest)
                          throws Exception
        Fetches a segment to local from any uri in the given list.
        Throws:
        Exception