| Package | Description |
|---|---|
| net.bolbat.kit.scheduler |
The implementation of a scheduler that is processing elements in the planning schedule.
|
| net.bolbat.kit.scheduler.task |
Scheduled task common implementations.
|
| Modifier and Type | Method and Description |
|---|---|
static Scheduler |
SchedulerFactory.create(TaskConfiguration task)
Create instance and configure
Scheduler. |
static org.quartz.Scheduler |
SchedulerConfigurationFactory.getConfiguration(TaskConfiguration task)
Get default quartz configuration.
|
boolean |
SchedulerImpl.isPaused() |
boolean |
Scheduler.isPaused()
Is scheduler paused.
|
boolean |
SchedulerImpl.isStarted() |
boolean |
Scheduler.isStarted()
Is scheduler started.
|
void |
SchedulerImpl.pause() |
void |
Scheduler.pause()
Pause scheduler elements.
|
void |
SchedulerImpl.resume() |
void |
Scheduler.resume()
Resume scheduler elements.
|
void |
SchedulerImpl.schedule(long interval) |
void |
Scheduler.schedule(long interval)
Configure scheduler with new schedule based on repeat interval, paused scheduler resume it's work with new schedule.
|
void |
SchedulerImpl.schedule(String schedule) |
void |
Scheduler.schedule(String schedule)
Configure scheduler with new schedule based on cron configuration, paused scheduler resume it's work with new schedule.
|
| Constructor and Description |
|---|
SchedulerImpl(TaskConfiguration task)
Default constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LoadingException
Scheduler exception, it can be thrown on any loading exception. |
class |
ProcessingException
Scheduler exception, it can be thrown on any process exception. |
Copyright © 2013–2019 BB Corp. All rights reserved.