com.silverpeas.scheduler.simple
Class SchedulerMethodJobMinute
java.lang.Object
com.silverpeas.scheduler.simple.SchedulerJob
com.silverpeas.scheduler.simple.SchedulerMethodJob
com.silverpeas.scheduler.simple.SchedulerMethodJobMinute
- All Implemented Interfaces:
- ScheduledJob, Runnable
Deprecated.
@Deprecated
public class SchedulerMethodJobMinute
- extends SchedulerMethodJob
This class extends the class 'SchedulerJob' for the functionality of a scheduled execution of a
class method.
Method Summary |
protected long |
getNextTimeStamp()
Deprecated. Generates a new timestamp |
Methods inherited from class com.silverpeas.scheduler.simple.SchedulerJob |
execute, getJobName, getMillisecondsOfCalendar, getName, getNexExecutionTimeInMillis, getNextExecutionTime, getOwner, getSchedulerEventListener, getTrigger, initTimeStamp, readNextTimeStamp, run, setSchedulingParameter, setSchedulingParameter, setTrigger, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchedulerMethodJobMinute
protected SchedulerMethodJobMinute(SimpleScheduler theJobController,
SchedulerEventListener theJobOwner,
String theJobName,
FixedPeriodJobTrigger trigger)
throws SchedulerException
- Deprecated.
- The constructor has proteceted access, because the generation of jobs should be done in a
central way by the class 'SimpleScheduler'
- Parameters:
theJobController
- The controller, that controls all job executionstheJobOwner
- The owner of the jobtheJobName
- The name of the jobiMinutes
- theperiod between each job
- Throws:
SchedulerException
getNextTimeStamp
protected long getNextTimeStamp()
- Deprecated.
- Description copied from class:
SchedulerJob
- Generates a new timestamp
- Overrides:
getNextTimeStamp
in class SchedulerJob
- Returns:
Copyright © 2016 Silverpeas. All Rights Reserved.