Class SubscriptionTriggeringSvcImpl

java.lang.Object
ca.uhn.fhir.jpa.subscription.triggering.SubscriptionTriggeringSvcImpl
All Implemented Interfaces:
ca.uhn.fhir.jpa.model.sched.IHasScheduledJobs, ISubscriptionTriggeringSvc

public class SubscriptionTriggeringSvcImpl extends Object implements ISubscriptionTriggeringSvc, ca.uhn.fhir.jpa.model.sched.IHasScheduledJobs
  • Constructor Details

  • Method Details

    • triggerSubscription

      public org.hl7.fhir.instance.model.api.IBaseParameters triggerSubscription(@Nullable List<org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theResourceIds, @Nullable List<org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theSearchUrls, @Nullable org.hl7.fhir.instance.model.api.IIdType theSubscriptionId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Specified by:
      triggerSubscription in interface ISubscriptionTriggeringSvc
    • triggerSubscription

      public org.hl7.fhir.instance.model.api.IBaseParameters triggerSubscription(@Nullable List<org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theResourceIds, @Nullable List<org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theSearchUrls, @Nullable org.hl7.fhir.instance.model.api.IIdType theSubscriptionId)
      Specified by:
      triggerSubscription in interface ISubscriptionTriggeringSvc
    • runDeliveryPass

      public void runDeliveryPass()
      Specified by:
      runDeliveryPass in interface ISubscriptionTriggeringSvc
    • cancelAll

      public void cancelAll()
    • setMaxSubmitPerPass

      public void setMaxSubmitPerPass(Integer theMaxSubmitPerPass)
      Sets the maximum number of resources that will be submitted in a single pass
    • start

      @PostConstruct public void start()
    • scheduleJobs

      public void scheduleJobs(ca.uhn.fhir.jpa.model.sched.ISchedulerService theSchedulerService)
      Specified by:
      scheduleJobs in interface ca.uhn.fhir.jpa.model.sched.IHasScheduledJobs
    • getActiveJobCount

      public int getActiveJobCount()