Class PayloadReconciliation
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.cassandra.reconcile.PayloadReconciliation
-
public class PayloadReconciliation extends java.lang.Object
Implements an algorithm to scan the offload persistence store and check that the RDBMS contains the corresponding record. As the RDBMS is the source of truth, any records in the persistence store without a corresponding record in the RDBMS should be deleted.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) IResourceTypeMaps
resourceTypeMaps
-
Constructor Summary
Constructors Constructor Description PayloadReconciliation(java.lang.String tenantId, java.lang.String dsId, DatabaseSupport dbSupport, IResourceTypeMaps resourceTypeMaps, boolean dryRun)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Run the reconciliation process
-
-
-
Field Detail
-
resourceTypeMaps
final IResourceTypeMaps resourceTypeMaps
-
-
Constructor Detail
-
PayloadReconciliation
public PayloadReconciliation(java.lang.String tenantId, java.lang.String dsId, DatabaseSupport dbSupport, IResourceTypeMaps resourceTypeMaps, boolean dryRun)
Public constructor- Parameters:
tenantId
-dsId
-dbSupport
-resourceTypeMaps
-dryRun
-
-
-