From cb39d27dd0b6fe6bd1e57b074a79819b6f75605d Mon Sep 17 00:00:00 2001 From: leif stawnyczy Date: Fri, 8 Mar 2024 09:38:50 -0500 Subject: [PATCH] updating documentation --- .../java/ca/uhn/fhir/batch2/package-info.java | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/package-info.java b/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/package-info.java index 49a7bbb12de..c699d6ef6ed 100644 --- a/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/package-info.java +++ b/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/package-info.java @@ -48,11 +48,39 @@ * * Job and chunk processing follow state machines described {@link hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa_batch/batch2_states.md} * Chunks have a simple {@link ca.uhn.fhir.batch2.model.WorkChunkStatusEnum state system} with states - * QUEUED, IN_PROGRESS, ERRORED, FAILED, COMPLETED. - * The initial state is QUEUED, and the final states are FAILED, and COMPLETED: + * READY, QUEUED, IN_PROGRESS, ERRORED, FAILED, COMPLETED. + * The initial state is READY, and the final states are FAILED, and COMPLETED. + * + * There are 2 primary systems in play during Batch2 Jobs. A Maintenance Job and the Batch2 Job Notification topic. + * + * The Maintenance Job + * + * This runs every minute and does the following: * * + * + * Processing the Messages + * + * + * + * The job lifecycle + * + *