Class TrackerClass


  • public class TrackerClass
    extends java.lang.Object
    Debugging class to keep track of recent modifications to the jobqueue table, along with context as to where it occurred. If a jobqueue state error occurs, we can then print out all of the pertinent history and find the culprit.
    • Method Detail

      • noteRecordChange

        public static void noteRecordChange​(java.lang.Long recordID,
                                            int newStatus,
                                            java.lang.String description)
        Add a single record event, as yet uncommitted
      • noteJobChange

        public static void noteJobChange​(java.lang.Long jobID,
                                         java.lang.String description)
        Add a global event, as yet uncommitted, which has the potential to affect any record's state in a given job.
      • noteGlobalChange

        public static void noteGlobalChange​(java.lang.String description)
        Add a global event, as yet uncommitted, which has the potential to affect the state of any record.
      • notePrecommit

        public static void notePrecommit()
        Note that we are about to commit.
      • noteRead

        public static void noteRead​(java.lang.Long recordID)
        Note a read status operation.
      • notePreread

        public static void notePreread​(java.lang.Long recordID)
        Note about to read status operation.
      • noteCommit

        public static void noteCommit()
        Note a commit operation.
      • noteRollback

        public static void noteRollback()
        Note a rollback operation.
      • printForensics

        public static void printForensics​(java.lang.Long recordID,
                                          int existingStatus)