Class TransferManager

java.lang.Object
org.opensearch.index.store.remote.utils.TransferManager

public class TransferManager extends Object
This acts as entry point to fetch BlobFetchRequest and return actual IndexInput. Utilizes the BlobContainer interface to read snapshot files located within a repository. This basically adapts BlobContainer snapshots files into IndexInput
Opensearch.internal:
  • Constructor Details

  • Method Details

    • fetchBlob

      public org.apache.lucene.store.IndexInput fetchBlob(BlobFetchRequest blobFetchRequest) throws IOException
      Given a blobFetchRequestList, return it's corresponding IndexInput.
      Parameters:
      blobFetchRequest - to fetch
      Returns:
      future of IndexInput augmented with internal caching maintenance tasks
      Throws:
      IOException