org.apache.activemq.broker.scheduler
Class JobImpl
java.lang.Object
org.apache.activemq.broker.scheduler.JobImpl
- All Implemented Interfaces:
- Job
public class JobImpl
- extends Object
- implements Job
|
Constructor Summary |
protected |
JobImpl(org.apache.activemq.broker.scheduler.JobLocation location,
org.apache.kahadb.util.ByteSequence bs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobImpl
protected JobImpl(org.apache.activemq.broker.scheduler.JobLocation location,
org.apache.kahadb.util.ByteSequence bs)
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
getDataTime
public static long getDataTime(String value)
throws Exception
- Throws:
Exception
getDateTime
public static String getDateTime(long value)
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.