org.apache.activemq.store.kahadb.scheduler
Class JobImpl

java.lang.Object
  extended by org.apache.activemq.store.kahadb.scheduler.JobImpl
All Implemented Interfaces:
Job

public class JobImpl
extends Object
implements Job


Constructor Summary
protected JobImpl(org.apache.activemq.store.kahadb.scheduler.JobLocation location, ByteSequence bs)
           
 
Method Summary
 String getCronEntry()
           
 long getDelay()
           
 String getJobId()
           
 String getNextExecutionTime()
          Get the time the job is next due to execute
 byte[] getPayload()
           
 long getPeriod()
           
 int getRepeat()
           
 long getStart()
           
 String getStartTime()
          Get the start time as a Date time string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.