Class ClientDrivenReindexOperation


  • public class ClientDrivenReindexOperation
    extends DriveReindexOperation
    Drives the $reindex custom operation in parallel from the client side via use of the $retrieve-index operation. Processing continues until index IDs indicate that no resources remain to be reindexed.
    • Field Detail

      • inProgressIndexIds

        Set<String> inProgressIndexIds
    • Constructor Detail

      • ClientDrivenReindexOperation

        public ClientDrivenReindexOperation​(FHIRBucketClient fhirClient,
                                            int maxConcurrentRequests,
                                            String reindexTimestamp,
                                            int maxResourceCount,
                                            String startWithIndexId)
        Public constructor.
        Parameters:
        fhirClient - the FHIR client
        maxConcurrentRequests - the number of threads to spin up
        reindexTimestamp - timestamp the reindex began
        maxResourceCount - resources processed per request per thread
        startWithIndexId - index ID from which to start, or null