Class JobImpl

  • All Implemented Interfaces:
    Job

    public class JobImpl
    extends Object
    implements Job
    • Constructor Detail

      • JobImpl

        protected JobImpl​(org.apache.activemq.store.kahadb.scheduler.JobLocation location,
                          ByteSequence bs)
    • Method Detail

      • getJobId

        public String getJobId()
        Specified by:
        getJobId in interface Job
        Returns:
        the jobId
      • getPayload

        public byte[] getPayload()
        Specified by:
        getPayload in interface Job
        Returns:
        the payload
      • getPeriod

        public long getPeriod()
        Specified by:
        getPeriod in interface Job
        Returns:
        the period
      • getRepeat

        public int getRepeat()
        Specified by:
        getRepeat in interface Job
        Returns:
        the repeat
      • getStart

        public long getStart()
        Specified by:
        getStart in interface Job
        Returns:
        the start
      • getDelay

        public long getDelay()
        Specified by:
        getDelay in interface Job
        Returns:
        the Delay
      • getCronEntry

        public String getCronEntry()
        Specified by:
        getCronEntry in interface Job
        Returns:
        the cron entry
      • getNextExecutionTime

        public String getNextExecutionTime()
        Description copied from interface: Job
        Get the time the job is next due to execute
        Specified by:
        getNextExecutionTime in interface Job
        Returns:
        the date time
      • getStartTime

        public String getStartTime()
        Description copied from interface: Job
        Get the start time as a Date time string
        Specified by:
        getStartTime in interface Job
        Returns:
        the date time
      • getExecutionCount

        public int getExecutionCount()
        Description copied from interface: Job
        Gets the total number of times this job has executed.
        Specified by:
        getExecutionCount in interface Job