Interface IJobPartitionProvider

All Known Implementing Classes:
DefaultJobPartitionProvider

public interface IJobPartitionProvider
Provides the list of PartitionedUrl that a job should run against.
  • Method Summary

    Modifier and Type
    Method
    Description
    getPartitionedUrls(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<String> theUrls)
    Provides the list of PartitionedUrl to run job steps against, based on the request that initiates the job and the urls that it's configured with.
    List<ca.uhn.fhir.interceptor.model.RequestPartitionId>
    getPartitions(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, String theOperation)
    Provides the list of partitions to run job steps against, based on the request that initiates the job.
  • Method Details

    • getPartitions

      List<ca.uhn.fhir.interceptor.model.RequestPartitionId> getPartitions(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, String theOperation)
      Provides the list of partitions to run job steps against, based on the request that initiates the job.
      Parameters:
      theRequestDetails - the requestDetails
      theOperation - the operation being run which corresponds to the job
      Returns:
      the list of partitions
    • getPartitionedUrls

      default List<PartitionedUrl> getPartitionedUrls(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<String> theUrls)
      Provides the list of PartitionedUrl to run job steps against, based on the request that initiates the job and the urls that it's configured with.
      Parameters:
      theRequestDetails - the requestDetails
      theUrls - the urls to run the job against
      Returns:
      the list of PartitionedUrl