Skip navigation links
A B C D E F G J L N O P R S T V W Z 

A

afterInitialDelay(Schedule, Duration) - Static method in class com.coreoz.wisp.schedule.Schedules
 
AfterInitialDelaySchedule - Class in com.coreoz.wisp.schedule
 
AfterInitialDelaySchedule(Schedule, Duration) - Constructor for class com.coreoz.wisp.schedule.AfterInitialDelaySchedule
 

B

baseSchedule() - Method in class com.coreoz.wisp.schedule.AfterInitialDelaySchedule
 
baseSchedule() - Method in class com.coreoz.wisp.schedule.OnceSchedule
 

C

cancel(String) - Method in class com.coreoz.wisp.Scheduler
Issue a cancellation order for a job and returns immediately a promise that enables to follow the job cancellation status

If the job is running, the scheduler will wait until it is finished to remove it from the jobs pool.
com.coreoz.wisp - package com.coreoz.wisp
 
com.coreoz.wisp.schedule - package com.coreoz.wisp.schedule
 
com.coreoz.wisp.schedule.cron - package com.coreoz.wisp.schedule.cron
 
com.coreoz.wisp.stats - package com.coreoz.wisp.stats
 
com.coreoz.wisp.time - package com.coreoz.wisp.time
 
CronExpressionSchedule - Class in com.coreoz.wisp.schedule.cron
CronExpressionSchedule(CronExpression, ZoneId) - Constructor for class com.coreoz.wisp.schedule.cron.CronExpressionSchedule
 
CronExpressionSchedule(CronExpression) - Constructor for class com.coreoz.wisp.schedule.cron.CronExpressionSchedule
 
CronSchedule - Class in com.coreoz.wisp.schedule.cron
Deprecated.
Use CronExpressionScheduleTest instead. This class has been deprecated to move away from cron-utils. See issue #14 for details.
CronSchedule(Cron, ZoneId) - Constructor for class com.coreoz.wisp.schedule.cron.CronSchedule
Deprecated.
 
CronSchedule(Cron) - Constructor for class com.coreoz.wisp.schedule.cron.CronSchedule
Deprecated.
 
currentTime() - Method in class com.coreoz.wisp.time.SystemTimeProvider
 
currentTime() - Method in interface com.coreoz.wisp.time.TimeProvider
Returns the current time in milliseconds

D

DEFAULT_MINIMUM_DELAY_IN_MILLIS_TO_REPLACE_JOB - Static variable in class com.coreoz.wisp.Scheduler
Deprecated.
This value is not used anymore It will be deleted in version 3.0.0.
DEFAULT_THREAD_POOL_SIZE - Static variable in class com.coreoz.wisp.Scheduler
Deprecated.
Default values are available in SchedulerConfig It will be deleted in version 3.0.0.
DEFAULT_THRESHOLD_DETECTION - Static variable in class com.coreoz.wisp.LongRunningJobMonitor
 
DEFAULT_TIME_PROVIDER - Static variable in class com.coreoz.wisp.SchedulerConfig
 

E

executeAt(String) - Static method in class com.coreoz.wisp.schedule.Schedules
Execute a job at the same time once a day.
executeOnce(Schedule) - Static method in class com.coreoz.wisp.schedule.Schedules
 
executionsCount() - Method in class com.coreoz.wisp.Job
 
executionTime() - Method in class com.coreoz.wisp.schedule.FixedHourSchedule
 

F

findJob(String) - Method in class com.coreoz.wisp.Scheduler
Find a job by its name
FixedDelaySchedule - Class in com.coreoz.wisp.schedule
 
FixedDelaySchedule(Duration) - Constructor for class com.coreoz.wisp.schedule.FixedDelaySchedule
 
fixedDelaySchedule(Duration) - Static method in class com.coreoz.wisp.schedule.Schedules
Execute a job at a fixed delay after each execution
FixedHourSchedule - Class in com.coreoz.wisp.schedule
 
FixedHourSchedule(String) - Constructor for class com.coreoz.wisp.schedule.FixedHourSchedule
Parse time in the form of "hh:mm" or "hh:mm:ss"
FixedHourSchedule(String, ZoneId) - Constructor for class com.coreoz.wisp.schedule.FixedHourSchedule
Parse time in the form of "hh:mm" or "hh:mm:ss"
FixedHourSchedule(LocalTime) - Constructor for class com.coreoz.wisp.schedule.FixedHourSchedule
 
FixedHourSchedule(LocalTime, ZoneId) - Constructor for class com.coreoz.wisp.schedule.FixedHourSchedule
 

G

gracefullyShutdown() - Method in class com.coreoz.wisp.Scheduler
Wait until the current running jobs are executed and cancel jobs that are planned to be executed.
gracefullyShutdown(Duration) - Method in class com.coreoz.wisp.Scheduler
Wait until the current running jobs are executed and cancel jobs that are planned to be executed.

J

Job - Class in com.coreoz.wisp
A Job is the association of a Runnable process and its running Schedule.
JobStatus - Enum in com.coreoz.wisp
Describe a Job state
jobStatus() - Method in class com.coreoz.wisp.Scheduler
Fetch the status of all the jobs that has been registered on the Scheduler including the JobStatus.DONE jobs

L

lastExecutionEndedTimeInMillis() - Method in class com.coreoz.wisp.Job
The timestamp of when the job has last finished executing.
lastExecutionStartedTimeInMillis() - Method in class com.coreoz.wisp.Job
The timestamp of when the job has last been started.
lastExecutionTimeInMillis() - Method in class com.coreoz.wisp.Job
Deprecated.
Use Job.lastExecutionEndedTimeInMillis(). This method will be deleted in version 3.0.0.
LongRunningJobMonitor - Class in com.coreoz.wisp
Detect jobs that are running for too long.
LongRunningJobMonitor(Scheduler, Duration, TimeProvider) - Constructor for class com.coreoz.wisp.LongRunningJobMonitor
Create a new LongRunningJobMonitor.
LongRunningJobMonitor(Scheduler, Duration) - Constructor for class com.coreoz.wisp.LongRunningJobMonitor
Create a new LongRunningJobMonitor.
LongRunningJobMonitor(Scheduler) - Constructor for class com.coreoz.wisp.LongRunningJobMonitor
Create a new LongRunningJobMonitor with a 5 minutes detection threshold.

N

name() - Method in class com.coreoz.wisp.Job
 
nextExecutionInMillis(long, int, Long) - Method in class com.coreoz.wisp.schedule.AfterInitialDelaySchedule
 
nextExecutionInMillis(long, int, Long) - Method in class com.coreoz.wisp.schedule.cron.CronExpressionSchedule
 
nextExecutionInMillis(long, int, Long) - Method in class com.coreoz.wisp.schedule.cron.CronSchedule
Deprecated.
 
nextExecutionInMillis(long, int, Long) - Method in class com.coreoz.wisp.schedule.FixedDelaySchedule
 
nextExecutionInMillis(long, int, Long) - Method in class com.coreoz.wisp.schedule.FixedHourSchedule
 
nextExecutionInMillis(long, int, Long) - Method in class com.coreoz.wisp.schedule.OnceSchedule
 
nextExecutionInMillis(long, int, Long) - Method in interface com.coreoz.wisp.schedule.Schedule
Compute the next execution time for a job.
nextExecutionTimeInMillis() - Method in class com.coreoz.wisp.Job
 

O

OnceSchedule - Class in com.coreoz.wisp.schedule
 
OnceSchedule(Schedule) - Constructor for class com.coreoz.wisp.schedule.OnceSchedule
 

P

parse(String) - Static method in class com.coreoz.wisp.schedule.cron.CronExpressionSchedule
Create a Schedule from a cron expression based on the Unix format, e.g. 1 * * * * for each minute.
parseQuartzCron(String) - Static method in class com.coreoz.wisp.schedule.cron.CronSchedule
Deprecated.
Use CronExpressionScheduleTest#parse(String) or CronExpressionScheduleTest#parseWithSeconds(String) instead
parseUnixCron(String) - Static method in class com.coreoz.wisp.schedule.cron.CronSchedule
Deprecated.
Use CronExpressionScheduleTest#parse(String) instead
parseWithSeconds(String) - Static method in class com.coreoz.wisp.schedule.cron.CronExpressionSchedule
Create a Schedule from a cron expression based on the Unix format, but accepting a second field as the first one, e.g. 29 * * * * * for each minute at the second 29, for instance 12:05:29.

R

remove(String) - Method in class com.coreoz.wisp.Scheduler
Remove a terminated job, so with the status JobStatus.DONE), from the monitored jobs.
run() - Method in class com.coreoz.wisp.LongRunningJobMonitor
Run the too long jobs detection on the Scheduler.
runnable() - Method in class com.coreoz.wisp.Job
 

S

schedule() - Method in class com.coreoz.wisp.Job
 
Schedule - Interface in com.coreoz.wisp.schedule
Provide the time of the next executions of a job.
schedule(Runnable, Schedule) - Method in class com.coreoz.wisp.Scheduler
Schedule the executions of a process.
schedule(String, Runnable, Schedule) - Method in class com.coreoz.wisp.Scheduler
Schedule the executions of a process.
Scheduler - Class in com.coreoz.wisp
A Scheduler instance reference a group of jobs and is responsible to schedule these jobs at the expected time.
Scheduler() - Constructor for class com.coreoz.wisp.Scheduler
Create a scheduler with the defaults defined at SchedulerConfig
Scheduler(int) - Constructor for class com.coreoz.wisp.Scheduler
Create a scheduler with the defaults defined at SchedulerConfig and with a max number of worker threads
Scheduler(SchedulerConfig) - Constructor for class com.coreoz.wisp.Scheduler
Create a scheduler according to the configuration
Scheduler(int, long) - Constructor for class com.coreoz.wisp.Scheduler
Deprecated.
Use Scheduler(SchedulerConfig) to specify multiple configuration values. It will be deleted in version 3.0.0.
Scheduler(int, long, TimeProvider) - Constructor for class com.coreoz.wisp.Scheduler
Deprecated.
Use Scheduler(SchedulerConfig) to specify multiple configuration values. It will be deleted in version 3.0.0.
SchedulerConfig - Class in com.coreoz.wisp
The configuration used by the scheduler
SchedulerConfig() - Constructor for class com.coreoz.wisp.SchedulerConfig
 
SchedulerStats - Class in com.coreoz.wisp.stats
 
SchedulerStats() - Constructor for class com.coreoz.wisp.stats.SchedulerStats
 
Schedules - Class in com.coreoz.wisp.schedule
Static helpers to build Schedule
Schedules() - Constructor for class com.coreoz.wisp.schedule.Schedules
 
stats() - Method in class com.coreoz.wisp.Scheduler
Fetch statistics about the current Scheduler
status() - Method in class com.coreoz.wisp.Job
 
SystemTimeProvider - Class in com.coreoz.wisp.time
 
SystemTimeProvider() - Constructor for class com.coreoz.wisp.time.SystemTimeProvider
 

T

ThreadPoolStats - Class in com.coreoz.wisp.stats
 
ThreadPoolStats() - Constructor for class com.coreoz.wisp.stats.ThreadPoolStats
 
threadRunningJob() - Method in class com.coreoz.wisp.Job
 
timeInMillisSinceJobRunning() - Method in class com.coreoz.wisp.Job
Deprecated.
Use Job.lastExecutionStartedTimeInMillis(). This method will be deleted in version 3.0.0.
TimeProvider - Interface in com.coreoz.wisp.time
The time provider that will be used by the scheduler to plan jobs
toString() - Method in class com.coreoz.wisp.Job
 
toString() - Method in class com.coreoz.wisp.schedule.AfterInitialDelaySchedule
 
toString() - Method in class com.coreoz.wisp.schedule.cron.CronExpressionSchedule
 
toString() - Method in class com.coreoz.wisp.schedule.cron.CronSchedule
Deprecated.
 
toString() - Method in class com.coreoz.wisp.schedule.FixedDelaySchedule
 
toString() - Method in class com.coreoz.wisp.schedule.FixedHourSchedule
 
toString() - Method in class com.coreoz.wisp.schedule.OnceSchedule
 

V

valueOf(String) - Static method in enum com.coreoz.wisp.JobStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.coreoz.wisp.JobStatus
Returns an array containing the constants of this enum type, in the order they are declared.

W

WILL_NOT_BE_EXECUTED_AGAIN - Static variable in interface com.coreoz.wisp.schedule.Schedule
If the Schedule.nextExecutionInMillis(long, int, Long) returned value is -1, then the corresponding job will not be executed again.
willNeverBeExecuted - Static variable in interface com.coreoz.wisp.schedule.Schedule
A schedule that will always return Schedule.WILL_NOT_BE_EXECUTED_AGAIN.

Z

zoneId() - Method in class com.coreoz.wisp.schedule.FixedHourSchedule
 
A B C D E F G J L N O P R S T V W Z 
Skip navigation links

Copyright © 2023 Coreoz. All rights reserved.