Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Run the reconciliation process
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 -
    • Method Detail

      • run

        public void run()
                 throws java.lang.Exception
        Run the reconciliation process
        Throws:
        java.lang.Exception