Index

A C G I L M P R S T U V 
All Classes and Interfaces|All Packages

A

addCronJob(CronJob, Logger) - Static method in class com.aoapps.cron.CronDaemon
Adds a CronJob to the list of jobs.
Asterisk(int) - Constructor for class com.aoapps.cron.Matcher.Asterisk
 

C

com.aoapps.cron - module com.aoapps.cron
 
com.aoapps.cron - package com.aoapps.cron
 
CONCURRENT - Enum constant in enum com.aoapps.cron.CronJob.ScheduleMode
Indicates the jobs should be ran concurrently when running together.
CronDaemon - Class in com.aoapps.cron
Run cron jobs based on their scheduling requirements.
CronJob - Interface in com.aoapps.cron
One task that is performed on a routine basis.
CronJob.Executor - Enum in com.aoapps.cron
The various executors that may be selected to run this job.
CronJob.ScheduleMode - Enum in com.aoapps.cron
The set of possible concurrency settings for cron jobs.

G

getDayOfMonth() - Method in class com.aoapps.cron.MatcherSchedule
 
getDayOfWeek() - Method in class com.aoapps.cron.MatcherSchedule
Note: Sunday is 0, not 1 like Calendar.
getExecutor() - Method in interface com.aoapps.cron.CronJob
Gets the executor that should be used for this job.
getHour() - Method in class com.aoapps.cron.MatcherSchedule
 
getMinute() - Method in class com.aoapps.cron.MatcherSchedule
 
getMonth() - Method in class com.aoapps.cron.MatcherSchedule
Note: months are 1-12 like cron, not 0-11 like Calendar.
getName() - Method in interface com.aoapps.cron.CronJob
Gets the name for this cron job.
getSchedule() - Method in interface com.aoapps.cron.CronJob
Gets the schedule for this cron job.
getScheduleMode() - Method in interface com.aoapps.cron.CronJob
Gets the job scheduling mode.
getThreadPriority() - Method in interface com.aoapps.cron.CronJob
Gets the Thread priority for this job.

I

isScheduled(int, int, int, int, int, int) - Method in class com.aoapps.cron.MatcherSchedule
 
isScheduled(int, int, int, int, int, int) - Method in class com.aoapps.cron.MultiSchedule
 
isScheduled(int, int, int, int, int, int) - Method in interface com.aoapps.cron.Schedule
Determine if the job should run right now.

L

List(Collection<Matcher>) - Constructor for class com.aoapps.cron.Matcher.List
 

M

Matcher - Class in com.aoapps.cron
Matches individual values within a Schedule.
Matcher() - Constructor for class com.aoapps.cron.Matcher
 
Matcher.Asterisk - Class in com.aoapps.cron
Matches any value.
Matcher.List - Class in com.aoapps.cron
Matches any of a list.
Matcher.Range - Class in com.aoapps.cron
Matches a specific range.
Matcher.Step - Class in com.aoapps.cron
Matches a step.
Matcher.Value - Class in com.aoapps.cron
Matches a single value.
MatcherSchedule - Class in com.aoapps.cron
Parses a cron-like schedule line, including support for lists, steps, ranges, asterisks, names, and special strings.
MatcherSchedule(Matcher, Matcher, Matcher, Matcher, Matcher) - Constructor for class com.aoapps.cron.MatcherSchedule
Creates a new matcher schedule.
matches(int) - Method in class com.aoapps.cron.Matcher.Asterisk
 
matches(int) - Method in class com.aoapps.cron.Matcher.List
 
matches(int) - Method in class com.aoapps.cron.Matcher
 
matches(int) - Method in class com.aoapps.cron.Matcher.Range
 
matches(int) - Method in class com.aoapps.cron.Matcher.Step
 
matches(int) - Method in class com.aoapps.cron.Matcher.Value
 
MultiSchedule - Class in com.aoapps.cron
A job is scheduled by matching any of a provided set of schedules.
MultiSchedule(Iterable<? extends Schedule>) - Constructor for class com.aoapps.cron.MultiSchedule
 

P

parseDayOfMonth(String) - Static method in class com.aoapps.cron.Matcher
Parses a dayOfMonth matcher.
parseDayOfWeek(String) - Static method in class com.aoapps.cron.Matcher
Parses a dayOfWeek matcher.
parseHour(String) - Static method in class com.aoapps.cron.Matcher
Parses a hour matcher.
parseMatcher(String, int, int, int, Map<String, Integer>) - Static method in class com.aoapps.cron.Matcher
Parses a cron value, supporting lists, asterisk, and ranges, and steps.
parseMinute(String) - Static method in class com.aoapps.cron.Matcher
Parses a minute matcher.
parseMonth(String) - Static method in class com.aoapps.cron.Matcher
Parses a month matcher.
parseSchedule(String) - Static method in class com.aoapps.cron.MatcherSchedule
Parses an entire schedule.
PER_PROCESSOR - Enum constant in enum com.aoapps.cron.CronJob.Executor
Executors bounded by the number of processors present in the system.

R

Range(int, int) - Constructor for class com.aoapps.cron.Matcher.Range
 
removeCronJob(CronJob) - Static method in class com.aoapps.cron.CronDaemon
Removes a CronJob from the list of jobs.
run(int, int, int, int, int, int) - Method in interface com.aoapps.cron.CronJob
Performs the scheduled task.
runImmediately(CronJob) - Static method in class com.aoapps.cron.CronDaemon
Runs a CronJob immediately if it is not already running or allows concurrent execution.

S

Schedule - Interface in com.aoapps.cron
Provides a schedule for a job.
SEQUENTIAL - Enum constant in enum com.aoapps.cron.CronJob.Executor
This job will be executed on the main cron daemon thread.
setLogger(Logger) - Static method in class com.aoapps.cron.CronDaemon
Sets the logger for the cron daemon errors (not the individual cron jobs).
SKIP - Enum constant in enum com.aoapps.cron.CronJob.ScheduleMode
Indicates the new job should be skipped to avoid running the same job concurrently.
Step(Matcher, int) - Constructor for class com.aoapps.cron.Matcher.Step
 

T

toString() - Method in class com.aoapps.cron.Matcher.Asterisk
 
toString() - Method in class com.aoapps.cron.Matcher.List
 
toString() - Method in class com.aoapps.cron.Matcher.Range
 
toString() - Method in class com.aoapps.cron.Matcher.Step
 
toString() - Method in class com.aoapps.cron.Matcher.Value
 
toString() - Method in class com.aoapps.cron.MatcherSchedule
 
toString() - Method in class com.aoapps.cron.MultiSchedule
 

U

UNBOUNDED - Enum constant in enum com.aoapps.cron.CronJob.Executor
Unbounded executors.

V

Value(int) - Constructor for class com.aoapps.cron.Matcher.Value
 
valueOf(String) - Static method in enum com.aoapps.cron.CronJob.Executor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.aoapps.cron.CronJob.ScheduleMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.aoapps.cron.CronJob.Executor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.aoapps.cron.CronJob.ScheduleMode
Returns an array containing the constants of this enum type, in the order they are declared.
A C G I L M P R S T U V 
All Classes and Interfaces|All Packages