Class JobStart
- java.lang.Object
-
- com.swiftmq.tools.pipeline.POObject
-
- com.swiftmq.impl.scheduler.standard.po.JobStart
-
- All Implemented Interfaces:
TimerListener
,java.util.EventListener
public class JobStart extends POObject implements TimerListener
-
-
Constructor Summary
Constructors Constructor Description JobStart(java.lang.String name, long startTime, int startTimeSec, long maxRuntime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(POVisitor poVisitor)
long
getMaxRuntime()
java.lang.String
getName()
long
getStartTime()
int
getStartTimeSec()
void
performTimeAction()
Perform the specific time actionvoid
setScheduler(Scheduler scheduler)
java.lang.String
toString()
-
Methods inherited from class com.swiftmq.tools.pipeline.POObject
getCallback, getException, getSemaphore, isSuccess, setException, setSuccess
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getStartTime
public long getStartTime()
-
getStartTimeSec
public int getStartTimeSec()
-
getMaxRuntime
public long getMaxRuntime()
-
setScheduler
public void setScheduler(Scheduler scheduler)
-
performTimeAction
public void performTimeAction()
Description copied from interface:TimerListener
Perform the specific time action- Specified by:
performTimeAction
in interfaceTimerListener
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-