Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
A
AbstractScheduler
- Class in
org.apache.jetspeed.scheduler
Service for a cron like scheduler.
AbstractScheduler()
- Constructor for class org.apache.jetspeed.scheduler.
AbstractScheduler
Creates a new instance.
AbstractScheduler.MainLoop
- Class in
org.apache.jetspeed.scheduler
Inner class.
AbstractScheduler.MainLoop()
- Constructor for class org.apache.jetspeed.scheduler.
AbstractScheduler.MainLoop
add(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
JobQueue
Add a job to the queue.
addJob(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
Add a new job to the queue.
addJob(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
MemoryBasedScheduler
Add a new job to the queue.
addJob(JobEntry)
- Method in interface org.apache.jetspeed.scheduler.
Scheduler
Add a new job to the queue.
B
baseArray
- Variable in class org.apache.jetspeed.util.
OverwriteProperties
An array of all the properties
BaseJobEntry
- Class in
org.apache.jetspeed.scheduler
BaseJobEntry
BaseJobEntry()
- Constructor for class org.apache.jetspeed.scheduler.
BaseJobEntry
baseMap
- Variable in class org.apache.jetspeed.util.
OverwriteProperties
Description of the Field
baseProperties
- Variable in class org.apache.jetspeed.util.
OverwriteProperties
The file to merge properties into
batchLoad(List)
- Method in class org.apache.jetspeed.scheduler.
JobQueue
Batch load jobs.
C
calcRunTime()
- Method in class org.apache.jetspeed.scheduler.
JobEntry
Calculate how long before the next runtime.
The runtime determines it's position in the job queue.
clearThread()
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
Set thread to null to indicate termination.
compareTo(Object)
- Method in class org.apache.jetspeed.scheduler.
JobEntry
Compares one JobEntry to another JobEntry based on the JobId
config
- Variable in class org.apache.jetspeed.scheduler.
MemoryBasedScheduler
D
DAILY
- Static variable in class org.apache.jetspeed.scheduler.
JobEntry
DAY_OF_MONTH
- Static variable in class org.apache.jetspeed.scheduler.
JobEntry
dayOfMonth
- Variable in class org.apache.jetspeed.scheduler.
BaseJobEntry
E
email
- Variable in class org.apache.jetspeed.scheduler.
BaseJobEntry
evaluateJobType()
- Method in class org.apache.jetspeed.scheduler.
JobEntry
What schedule am I on? I know this is kinda ugly! If you can think of a cleaner way to do this, please jump in!
execute(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
ScheduledJob
This is a stop gap until the scheduler service is fully decoupled from modules.
execute()
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Description of the Method
G
getBaseProperties()
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Return the file to merge propertie into
getConfiguration()
- Method in class org.apache.jetspeed.scheduler.
MemoryBasedScheduler
getDayOfMonth()
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Get the DayOfMonth
getEmail()
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Get the Email
getHour()
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Get the Hour
getIncludeRoot()
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Gets the includeRoot attribute of the OverwriteProperties object
getJob(int)
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
Get a specific Job from Storage.
getJob(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
JobQueue
Return a specific job.
getJob(int)
- Method in class org.apache.jetspeed.scheduler.
MemoryBasedScheduler
This method returns the job element from the internal queue.
getJob(int)
- Method in interface org.apache.jetspeed.scheduler.
Scheduler
Get a specific Job from Storage.
getJobId()
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Get the JobId
getMinute()
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Get the Minute
getNext()
- Method in class org.apache.jetspeed.scheduler.
JobQueue
Return the next job off the top of the queue, or
null
if there are no jobs in the queue.
getNextRunAsString()
- Method in class org.apache.jetspeed.scheduler.
JobEntry
Get the next runtime for this job as a String.
getNextRuntime()
- Method in class org.apache.jetspeed.scheduler.
JobEntry
Get the next runtime for this job as a long.
getProperties()
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Gets the properties attribute of the OverwriteProperties object
getSecond()
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Get the Second
getTask()
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Get the Task
getThread()
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
Return the thread being used to process commands, or null if there is no such thread.
getVerbose()
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Gets the verbose attribute of the OverwriteProperties object
getWeekDay()
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Get the WeekDay
I
includeRoot
- Variable in class org.apache.jetspeed.util.
OverwriteProperties
The directory to look in for include files
isActive()
- Method in class org.apache.jetspeed.scheduler.
JobEntry
Check to see if job is currently active/running
J
je
- Variable in class org.apache.jetspeed.scheduler.
WorkerThread
The
JobEntry
to run.
JobEntry
- Class in
org.apache.jetspeed.scheduler
This is a wrapper for a scheduled job.
JobEntry()
- Constructor for class org.apache.jetspeed.scheduler.
JobEntry
default constructor
JobEntry(int, int, int, int, int, String)
- Constructor for class org.apache.jetspeed.scheduler.
JobEntry
Constuctor.
jobHour
- Variable in class org.apache.jetspeed.scheduler.
BaseJobEntry
jobId
- Variable in class org.apache.jetspeed.scheduler.
BaseJobEntry
jobIsActive
- Variable in class org.apache.jetspeed.scheduler.
JobEntry
indicates if job is currently running
jobMinute
- Variable in class org.apache.jetspeed.scheduler.
BaseJobEntry
JobQueue
- Class in
org.apache.jetspeed.scheduler
Queue for the scheduler.
JobQueue()
- Constructor for class org.apache.jetspeed.scheduler.
JobQueue
Creates a new instance.
jobSecond
- Variable in class org.apache.jetspeed.scheduler.
BaseJobEntry
L
lineSeparator
- Variable in class org.apache.jetspeed.util.
OverwriteProperties
What to use as a line seperator
list()
- Method in class org.apache.jetspeed.scheduler.
JobQueue
List jobs in the queue.
listJobs()
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
List jobs in the queue.
listJobs()
- Method in interface org.apache.jetspeed.scheduler.
Scheduler
List jobs in the queue.
log
- Static variable in class org.apache.jetspeed.scheduler.
AbstractScheduler
log
- Static variable in class org.apache.jetspeed.scheduler.
MemoryBasedScheduler
logStateChange(String)
- Method in class org.apache.jetspeed.scheduler.
WorkerThread
Macro to log
JobEntry
status information.
M
main(String[])
- Static method in class org.apache.jetspeed.util.
OverwriteProperties
The main program for the OverwriteProperties class
mainLoop
- Variable in class org.apache.jetspeed.scheduler.
AbstractScheduler
The main loop for starting jobs.
MemoryBasedScheduler
- Class in
org.apache.jetspeed.scheduler
Service for a cron like scheduler that uses the properties file instead of the database.
MemoryBasedScheduler(Configuration)
- Constructor for class org.apache.jetspeed.scheduler.
MemoryBasedScheduler
Constructor.
MINUTE
- Static variable in class org.apache.jetspeed.scheduler.
JobEntry
modify(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
JobQueue
Modify a job on the queue.
N
nextJob()
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
Return the next Job to execute, or null if thread is interrupted.
O
org.apache.jetspeed.scheduler
- package org.apache.jetspeed.scheduler
org.apache.jetspeed.util
- package org.apache.jetspeed.util
OverwriteProperties
- Class in
org.apache.jetspeed.util
Task to overwrite Properties: used for JRP, TRP and Torque.properties
OverwriteProperties()
- Constructor for class org.apache.jetspeed.util.
OverwriteProperties
P
properties
- Variable in class org.apache.jetspeed.util.
OverwriteProperties
The file to pull the properties from
Q
queue
- Variable in class org.apache.jetspeed.scheduler.
JobQueue
The queue of
JobEntry
objects.
R
readProperties(File, int)
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Reads in the properties from the specified file
remove(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
JobQueue
Remove a job from the queue.
removeArray
- Variable in class org.apache.jetspeed.util.
OverwriteProperties
An array of all the properties that will be removed
removeJob(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
Remove a job from the queue.
removeJob(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
MemoryBasedScheduler
Remove a job from the queue.
removeJob(JobEntry)
- Method in interface org.apache.jetspeed.scheduler.
Scheduler
Remove a job from the queue.
removeProperties()
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Description of the Method
restart()
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
Start (or restart) a thread to process commands, or wake up an existing thread if one is already running.
run()
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler.MainLoop
Method to run the class.
run(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
ScheduledJob
Run the Jobentry from the scheduler queue.
run()
- Method in class org.apache.jetspeed.scheduler.
WorkerThread
Run the job.
runtime
- Variable in class org.apache.jetspeed.scheduler.
JobEntry
Next runtime.
S
ScheduledJob
- Class in
org.apache.jetspeed.scheduler
All Scheduled jobs should extend this.
ScheduledJob()
- Constructor for class org.apache.jetspeed.scheduler.
ScheduledJob
scheduleQueue
- Variable in class org.apache.jetspeed.scheduler.
AbstractScheduler
The queue.
Scheduler
- Interface in
org.apache.jetspeed.scheduler
ScheduleService interface.
SECOND
- Static variable in class org.apache.jetspeed.scheduler.
JobEntry
schedule types
SERVICE_NAME
- Static variable in interface org.apache.jetspeed.scheduler.
Scheduler
setActive(boolean)
- Method in class org.apache.jetspeed.scheduler.
JobEntry
Sets whether the job is running.
setBaseProperties(File)
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Sets the file to merge properties into
setDayOfMonth(int)
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Set the value of DayOfMonth
setEmail(String)
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Set the value of Email
setHour(int)
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Set the value of Hour
setIncludeRoot(File)
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Sets the directory to look for includes in.
setJobId(int)
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Set the value of JobId
setMinute(int)
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Set the value of Minute
setProperties(File)
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Sets the file to pull properties from
setSecond(int)
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Set the value of Second
setTask(String)
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Set the value of Task
setVerbose(boolean)
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Sets whether to output extra debugging info
setWeekDay(int)
- Method in class org.apache.jetspeed.scheduler.
BaseJobEntry
Set the value of WeekDay
sortQueue()
- Method in class org.apache.jetspeed.scheduler.
JobQueue
Re-sort the existing queue.
start()
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
start()
- Method in class org.apache.jetspeed.scheduler.
MemoryBasedScheduler
stop()
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
stop()
- Method in class org.apache.jetspeed.scheduler.
MemoryBasedScheduler
T
task
- Variable in class org.apache.jetspeed.scheduler.
BaseJobEntry
thread
- Variable in class org.apache.jetspeed.scheduler.
AbstractScheduler
The thread used to process commands.
U
updateJob(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
AbstractScheduler
Modify a Job.
updateJob(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
MemoryBasedScheduler
Modify a Job.
updateJob(JobEntry)
- Method in interface org.apache.jetspeed.scheduler.
Scheduler
Modify a Job.
updateQueue(JobEntry)
- Method in class org.apache.jetspeed.scheduler.
JobQueue
Update the job for its next run time.
V
verbose
- Variable in class org.apache.jetspeed.util.
OverwriteProperties
Description of the Field
W
WEEK_DAY
- Static variable in class org.apache.jetspeed.scheduler.
JobEntry
weekDay
- Variable in class org.apache.jetspeed.scheduler.
BaseJobEntry
WorkerThread
- Class in
org.apache.jetspeed.scheduler
Wrapper for a
JobEntry
to actually perform the job's action.
WorkerThread(JobEntry)
- Constructor for class org.apache.jetspeed.scheduler.
WorkerThread
Creates a new worker to run the specified
JobEntry
.
writeToFile(boolean[])
- Method in class org.apache.jetspeed.util.
OverwriteProperties
Description of the Method
A
B
C
D
E
G
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.