Uses of Interface
org.apache.turbine.services.schedule.JobEntry
-
Packages that use JobEntry Package Description org.apache.turbine.modules Modules (Action, Screen, Layout, Navigation, Page) classes for the Turbine view.org.apache.turbine.services.schedule The scheduler service can run tasks in the background. -
-
Uses of JobEntry in org.apache.turbine.modules
Methods in org.apache.turbine.modules with parameters of type JobEntry Modifier and Type Method Description void
ScheduledJobLoader. exec(JobEntry job, String name)
Attempts to load and execute the external ScheduledJob.void
ScheduledJob. run(JobEntry job)
Run the Jobentry from the scheduler queue. -
Uses of JobEntry in org.apache.turbine.services.schedule
Classes in org.apache.turbine.services.schedule with type parameters of type JobEntry Modifier and Type Class Description class
JobQueue<J extends JobEntry>
Queue for the scheduler.Classes in org.apache.turbine.services.schedule that implement JobEntry Modifier and Type Class Description class
AbstractJobEntry
This class provides the basic implementation of common features for a scheduled job entry.class
BaseJobEntryTorque
This class was autogenerated by Torque on: [Tue Dec 14 09:51:09 CET 2021] You should not use this class directly.class
JobEntryNonPersistent
This is an implementation of a JobEntry with no persistence.class
JobEntryQuartz
This implements a Turbine scheduled job model for theQuartzScheduler
.class
JobEntryTorque
The skeleton for this class was autogenerated by Torque on: [Tue Dec 14 09:49:30 CET 2021] You should add additional methods to this class to meet the application requirements.Fields in org.apache.turbine.services.schedule with type parameters of type JobEntry Modifier and Type Field Description protected JobQueue<JobEntry>
AbstractSchedulerService. scheduleQueue
The queueMethods in org.apache.turbine.services.schedule that return JobEntry Modifier and Type Method Description abstract JobEntry
AbstractSchedulerService. getJob(int oid)
Get a specific Job from Storage.JobEntry
QuartzSchedulerService. getJob(int oid)
Get a specific Job from Storage.JobEntry
SchedulerTool. getJob(String jobId)
Gets the job identified by the jobId.JobEntry
ScheduleService. getJob(int oid)
Get a specific Job from Storage.JobEntry
TorqueSchedulerService. getJob(int oid)
Deprecated.Get a specific Job from Storage.JobEntry
TurbineNonPersistentSchedulerService. getJob(int oid)
Deprecated.This method returns the job element from the internal queue.abstract JobEntry
AbstractSchedulerService. newJob(int sec, int min, int hour, int wd, int day_mo, String task)
JobEntry
QuartzSchedulerService. newJob(int sec, int min, int hour, int wd, int day_mo, String task)
JobEntry
ScheduleService. newJob(int sec, int min, int hour, int wd, int day_mo, String task)
Factory method for a new Job Schedule a job to run on a certain point of time.
Example 1: Run the DefaultScheduledJob at 8:00am every 15th of the month -
JobEntry je = newJob(0,0,8,-1,15,"DefaultScheduledJob");
Example 2: Run the DefaultScheduledJob at 8:00am every day -
JobEntry je = newJob(0,0,8,-1,-1,"DefaultScheduledJob");
Example 3: Run the DefaultScheduledJob every 2 hours. -
JobEntry je = newJob(0,120,-1,-1,-1,"DefaultScheduledJob");
Example 4: Run the DefaultScheduledJob every 30 seconds. -
JobEntry je = newJob(30,-1,-1,-1,-1,"DefaultScheduledJob");JobEntry
TorqueSchedulerService. newJob(int sec, int min, int hour, int wd, int day_mo, String task)
Deprecated.JobEntry
TurbineNonPersistentSchedulerService. newJob(int sec, int min, int hour, int wd, int day_mo, String task)
Deprecated.protected JobEntry
AbstractSchedulerService. nextJob()
Return the next Job to execute, or null if thread is interrupted.Methods in org.apache.turbine.services.schedule that return types with arguments of type JobEntry Modifier and Type Method Description List<? extends JobEntry>
SchedulerTool. getScheduledJobs()
Gets the list of scheduled jobs.List<JobEntry>
AbstractSchedulerService. listJobs()
List jobs in the queue.List<? extends JobEntry>
QuartzSchedulerService. listJobs()
List jobs in the queue.List<? extends JobEntry>
ScheduleService. listJobs()
List jobs in the queue.protected abstract List<? extends JobEntry>
AbstractSchedulerService. loadJobs()
Load all jobs from configuration storageprotected List<? extends JobEntry>
TorqueSchedulerService. loadJobs()
Deprecated.Load all jobs from configuration storageprotected List<? extends JobEntry>
TurbineNonPersistentSchedulerService. loadJobs()
Deprecated.Methods in org.apache.turbine.services.schedule with parameters of type JobEntry Modifier and Type Method Description void
AbstractSchedulerService. addJob(JobEntry je)
Add a new job to the queue.void
QuartzSchedulerService. addJob(JobEntry je)
Add a new job to the queue.void
ScheduleService. addJob(JobEntry je)
Add a new job to the queue.int
AbstractJobEntry. compareTo(JobEntry je)
Used for ordering Jobentries Note: this comparator imposes orderings that are inconsistent with equals.int
JobEntryQuartz. compareTo(JobEntry o)
abstract void
AbstractSchedulerService. removeJob(JobEntry je)
Remove a job from the queue.void
QuartzSchedulerService. removeJob(JobEntry je)
Remove a job from the queue.void
ScheduleService. removeJob(JobEntry je)
Remove a job from the queue.void
TorqueSchedulerService. removeJob(JobEntry je)
Deprecated.Remove a job from the queue.void
TurbineNonPersistentSchedulerService. removeJob(JobEntry je)
Deprecated.Remove a job from the queue.abstract void
AbstractSchedulerService. updateJob(JobEntry je)
Add or update a job.void
QuartzSchedulerService. updateJob(JobEntry je)
Add or update a job.void
ScheduleService. updateJob(JobEntry je)
Modify a Job.void
TorqueSchedulerService. updateJob(JobEntry je)
Deprecated.Add or update a job.void
TurbineNonPersistentSchedulerService. updateJob(JobEntry je)
Deprecated.Add/update a jobConstructors in org.apache.turbine.services.schedule with parameters of type JobEntry Constructor Description WorkerThread(JobEntry je)
Creates a new worker to run the specifiedJobEntry
.
-