Class JobNotifyRecord


  • public class JobNotifyRecord
    extends JobRecord
    This class is a paper object which contains a job ID.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _rcsid  
      protected int failRetryCount
      Fail retry count; -1 if none currently set
      protected long failTime
      Fail time; -1L if none currently set
    • Constructor Summary

      Constructors 
      Constructor Description
      JobNotifyRecord​(java.lang.Long jobID, long failTime, int failRetryCount)
      Constructor.
    • Field Detail

      • failTime

        protected final long failTime
        Fail time; -1L if none currently set
      • failRetryCount

        protected final int failRetryCount
        Fail retry count; -1 if none currently set
    • Constructor Detail

      • JobNotifyRecord

        public JobNotifyRecord​(java.lang.Long jobID,
                               long failTime,
                               int failRetryCount)
        Constructor.
    • Method Detail

      • getFailTime

        public long getFailTime()
        Get the hard fail time.
        Returns:
        the fail time in ms since epoch, or -1L if none.
      • getFailRetryCount

        public int getFailRetryCount()
        Get the hard fail retry count.
        Returns:
        the fail retry count, or -1 if none.