Uses of Class
ca.uhn.fhir.batch2.model.JobInstance
Packages that use JobInstance
Package
Description
This package contains the APIs used in the Batch2 framework.
-
Uses of JobInstance in ca.uhn.fhir.batch2.api
Methods in ca.uhn.fhir.batch2.api that return JobInstanceModifier and TypeMethodDescriptionIJobCoordinator.getInstance(String theInstanceId) Fetch details about a job instanceMethods in ca.uhn.fhir.batch2.api that return types with arguments of type JobInstanceModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<JobInstance>IJobCoordinator.fetchAllJobInstances(JobInstanceFetchRequest theFetchRequest) Fetches all job instances tht meet the FetchRequest criteriaIJobPersistence.fetchInstance(String theInstanceId) Fetch an instanceIJobPersistence.fetchInstances(int thePageSize, int thePageIndex) Fetch all instancesIJobPersistence.fetchInstances(FetchJobInstancesRequest theRequest, int theStart, int theBatchSize) Fetches any existing jobs matching provided request parametersIJobPersistence.fetchInstances(String theJobDefinitionId, Set<StatusEnum> theStatuses, Date theCutoff, org.springframework.data.domain.Pageable thePageable) IJobPersistence.fetchInstancesByJobDefinitionId(String theJobDefinitionId, int theCount, int theStart) Fetch all job instances for a given job definition idIJobPersistence.fetchInstancesByJobDefinitionIdAndStatus(String theJobDefinitionId, Set<StatusEnum> theRequestedStatuses, int thePageSize, int thePageIndex) org.springframework.data.domain.Page<JobInstance>IJobPersistence.fetchJobInstances(JobInstanceFetchRequest theRequest) Fetches all job instances based on the JobFetchRequestIJobPersistence.fetchRecentInstances(int thePageSize, int thePageIndex) Fetch instances ordered by myCreateTime DESCIJobCoordinator.getInstances(int thePageSize, int thePageIndex) Fetch all job instancesIJobCoordinator.getInstancesbyJobDefinitionIdAndEndedStatus(String theJobDefinitionId, Boolean theEnded, int theCount, int theStart) IJobCoordinator.getJobInstancesByJobDefinitionId(String theJobDefinitionId, int theCount, int theStart) Fetches all jobs by job definition idIJobCoordinator.getJobInstancesByJobDefinitionIdAndStatuses(String theJobDefinitionId, Set<StatusEnum> theStatuses, int theCount, int theStart) Fetches all job instances by job definition id and statusesIJobCoordinator.getRecentInstances(int theCount, int theStart) Fetch recent job instancesMethods in ca.uhn.fhir.batch2.api with parameters of type JobInstanceModifier and TypeMethodDescriptionstatic <P1 extends ca.uhn.fhir.model.api.IModelJson,I1 extends ca.uhn.fhir.model.api.IModelJson>
StepExecutionDetails<P1,I1> StepExecutionDetails.createReductionStepDetails(P1 theParameters, I1 theIntermediateParams, JobInstance theInstance) Create and returns a step execution details for a reduction jobbooleanIJobPersistence.JobInstanceUpdateCallback.doUpdate(JobInstance theInstance) Modify theInstance within a write-lock transaction.IJobPersistence.storeNewInstance(JobInstance theInstance) Store a new job instance.Constructors in ca.uhn.fhir.batch2.api with parameters of type JobInstanceModifierConstructorDescriptionJobCompletionDetails(PT theParameters, JobInstance theInstance) StepExecutionDetails(PT theParameters, IT theData, JobInstance theInstance, WorkChunk theChunk) StepExecutionDetails(PT theParameters, IT theData, JobInstance theInstance, String theChunkId) Deprecated. -
Uses of JobInstance in ca.uhn.fhir.batch2.coordinator
Methods in ca.uhn.fhir.batch2.coordinator that return JobInstanceMethods in ca.uhn.fhir.batch2.coordinator that return types with arguments of type JobInstanceModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<JobInstance>JobCoordinatorImpl.fetchAllJobInstances(JobInstanceFetchRequest theFetchRequest) JobCoordinatorImpl.getInstances(int thePageSize, int thePageIndex) JobCoordinatorImpl.getInstancesbyJobDefinitionIdAndEndedStatus(String theJobDefinitionId, Boolean theEnded, int theCount, int theStart) JobCoordinatorImpl.getJobInstancesByJobDefinitionId(String theJobDefinitionId, int theCount, int theStart) JobCoordinatorImpl.getJobInstancesByJobDefinitionIdAndStatuses(String theJobDefinitionId, Set<StatusEnum> theStatuses, int theCount, int theStart) JobCoordinatorImpl.getRecentInstances(int theCount, int theStart) Methods in ca.uhn.fhir.batch2.coordinator with parameters of type JobInstanceModifier and TypeMethodDescription<PT extends ca.uhn.fhir.model.api.IModelJson,IT extends ca.uhn.fhir.model.api.IModelJson, OT extends ca.uhn.fhir.model.api.IModelJson>
JobStepExecutorOutput<PT,IT, OT> WorkChunkProcessor.doExecution(JobWorkCursor<PT, IT, OT> theCursor, JobInstance theInstance, WorkChunk theWorkChunk) Execute the work chunk.<T extends ca.uhn.fhir.model.api.IModelJson>
JobDefinition<T>JobDefinitionRegistry.getJobDefinitionOrThrowException(JobInstance theJobInstance) <PT extends ca.uhn.fhir.model.api.IModelJson,IT extends ca.uhn.fhir.model.api.IModelJson, OT extends ca.uhn.fhir.model.api.IModelJson>
JobStepExecutor<PT,IT, OT> JobStepExecutorFactory.newJobStepExecutor(JobInstance theInstance, WorkChunk theWorkChunk, JobWorkCursor<PT, IT, OT> theCursor) voidJobDefinitionRegistry.setJobDefinition(JobInstance theInstance) -
Uses of JobInstance in ca.uhn.fhir.batch2.model
Methods in ca.uhn.fhir.batch2.model that return JobInstanceModifier and TypeMethodDescriptionstatic JobInstanceJobInstance.fromInstanceId(String theInstanceId) static JobInstanceJobInstance.fromJobDefinition(JobDefinition<?> theJobDefinition) JobInstance.setCreateTime(Date theCreateTime) JobInstance.setEndTime(Date theEndTime) JobInstance.setErrorCount(int theErrorCount) JobInstance.setErrorMessage(String theErrorMessage) JobInstance.setStartTime(Date theStartTime) JobInstance.setStatus(StatusEnum theStatus) JobInstance.setTriggeringClientId(String theTriggeringClientId) JobInstance.setTriggeringUsername(String theTriggeringUsername) JobInstance.setWarningMessages(String theWarningMessages) Constructors in ca.uhn.fhir.batch2.model with parameters of type JobInstanceModifierConstructorDescriptionJobInstance(JobInstance theJobInstance) Copy constructorJobWorkNotification(JobInstance theInstance, String theNextStepId, String theNextChunkId) -
Uses of JobInstance in ca.uhn.fhir.batch2.progress
Methods in ca.uhn.fhir.batch2.progress with parameters of type JobInstanceModifier and TypeMethodDescriptionvoidInstanceProgress.updateInstance(JobInstance theInstance) voidInstanceProgress.updateInstance(JobInstance theInstance, boolean theCalledFromReducer) Update the job instance with status information.voidInstanceProgress.updateInstanceForReductionStep(JobInstance theInstance) Signal to the progress calculator to skip the incomplete work chunk count when determining the completed percentage.booleanJobInstanceStatusUpdater.updateInstanceStatus(JobInstance theJobInstance, StatusEnum theNewStatus) Update the status on the instance, and call any completion handlers when entering a completion state.