Interface AzureReplicationFeed

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      FindResult getNextEntriesAndUpdatedToken​(com.github.ambry.replication.FindToken curfindToken, long maxTotalSizeOfEntries, java.lang.String partitionPath)
      Returns an ordered sequenced list of blobs within the specified partition and updated FindToken, such that total size of all blobs in the list are less or equal to maxTotalSizeOfEntries.
      • Methods inherited from interface java.io.Closeable

        close
    • Method Detail

      • getNextEntriesAndUpdatedToken

        FindResult getNextEntriesAndUpdatedToken​(com.github.ambry.replication.FindToken curfindToken,
                                                 long maxTotalSizeOfEntries,
                                                 java.lang.String partitionPath)
                                          throws com.microsoft.azure.cosmosdb.DocumentClientException
        Returns an ordered sequenced list of blobs within the specified partition and updated FindToken, such that total size of all blobs in the list are less or equal to maxTotalSizeOfEntries. This method should return at least one blob, if exists, after curfindToken, irrespective of maxTotalSizeOfEntries requirement.
        Parameters:
        curfindToken - current FindToken object that acts as a bookmark to return blobs after.
        maxTotalSizeOfEntries - max total size of all the CloudBlobMetadata objects returned.
        partitionPath - partition of the blobs.
        Returns:
        FindResult instance that contains updated FindToken object which can act as a bookmark for subsequent requests, and List of CloudBlobMetadata entries.
        Throws:
        com.microsoft.azure.cosmosdb.DocumentClientException