Index
All Classes and Interfaces|All Packages
B
- BeanTasks - Class in io.jooby.dbscheduler
- BeanTasks() - Constructor for class io.jooby.dbscheduler.BeanTasks
D
- DbScheduleParser - Class in io.jooby.dbscheduler
-
Parse
Schedule
from string expression. - DbScheduleParser() - Constructor for class io.jooby.dbscheduler.DbScheduleParser
- DbSchedulerApp - Class in io.jooby.dbscheduler
- DbSchedulerApp() - Constructor for class io.jooby.dbscheduler.DbSchedulerApp
- DbSchedulerModule - Class in io.jooby.dbscheduler
-
Db-scheduler module: https://github.com/kagkarlsson/db-scheduler
- DbSchedulerModule(Task<?>, Task<?>...) - Constructor for class io.jooby.dbscheduler.DbSchedulerModule
- DbSchedulerModule(List<Task<?>>) - Constructor for class io.jooby.dbscheduler.DbSchedulerModule
- DbSchedulerProperties - Class in io.jooby.dbscheduler
-
Default schedule properties.
- DbSchedulerProperties() - Constructor for class io.jooby.dbscheduler.DbSchedulerProperties
F
- from(Config, String) - Static method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Attempt to parse a configuration options from prooperty files.
G
- getDeleteUnresolvedAfter() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
The time after which executions with unknown tasks are automatically deleted.
- getFailureLoggerLevel() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Configures how to log task failures, i.e.
- getHeartbeatInterval() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
How often to update the heartbeat timestamp for running executions.
- getPollingInterval() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
How often the scheduler checks the database for due executions.
- getPollingStrategy() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
If you are running >1000 executions/s you might want to use the lock-and-fetch polling-strategy for lower overhead and higher througput (read more).
- getPollingStrategyLowerLimitFractionOfThreads() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
The limit at which more executions are fetched from the database after fetching a full batch.
- getPollingStrategyUpperLimitFractionOfThreads() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
For Type=FETCH, the number of due executions fetched from the database in each batch.
- getSchedulerName() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Name of this scheduler-instance.
- getShutdownMaxWait() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
How long the scheduler will wait before interrupting executor-service threads.
- getTableName() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Name of the table used to track task-executions.
- getThreads() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Number of threads to use.
I
- install(Jooby) - Method in class io.jooby.dbscheduler.DbSchedulerModule
- io.jooby.dbscheduler - module io.jooby.dbscheduler
- io.jooby.dbscheduler - package io.jooby.dbscheduler
-
Db-scheduler module: https://github.com/kagkarlsson/db-scheduler
- isAlwaysPersistTimestampInUtc() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
The Scheduler assumes that columns for persisting timestamps persist Instants, not LocalDateTimes, i.e. somehow tie the timestamp to a zone.
- isAutoCreateTable() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
True for check and create
DbSchedulerProperties.tableName
when not exists. - isEnabled() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Turn on/off the scheduler.
- isFailureLoggerLogStackTrace() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
True for logging stack trace on failure.
- isImmediateExecutionEnabled() - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
If this is enabled, the scheduler will attempt to hint to the local Scheduler that there are executions to be executed after they are scheduled to run now(), or a time in the past.
P
- parseSchedule(String) - Static method in class io.jooby.dbscheduler.DbScheduleParser
-
Parse
Schedule
from string expression.
R
- recurring(Jooby, Class<?>) - Static method in class io.jooby.dbscheduler.BeanTasks
-
Scan for
Scheduled
annotated method and createsTasks.recurring(String, Schedule)
tasks for each of them. - recurring(Jooby, Object) - Static method in class io.jooby.dbscheduler.BeanTasks
-
Scan for
Scheduled
annotated method and createsTasks.recurring(String, Schedule)
tasks for each of them.
S
- Scheduled - Annotation Interface in io.jooby.dbscheduler
-
Define a
schedule
. - setAlwaysPersistTimestampInUtc(boolean) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set always persist timestamp in UTC.
- setAutoCreateTable(boolean) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
For check and create
DbSchedulerProperties.tableName
when not exists. - setDeleteUnresolvedAfter(Duration) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set the time after which executions with unknown tasks are automatically deleted.
- setEnabled(boolean) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set false to turn off the scheduler.
- setFailureLoggerLevel(LogLevel) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Configures how to log task failures.
- setFailureLoggerLogStackTrace(boolean) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set True for logging stack trace on failure.
- setHeartbeatInterval(Duration) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set how often to update the heartbeat timestamp for running executions.
- setImmediateExecutionEnabled(boolean) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set to true to hint to the local Scheduler that there are executions to be executed after they are scheduled to run now(), or a time in the past.
- setPollingInterval(Duration) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set How often the scheduler checks the database for due executions.
- setPollingStrategy(PollingStrategyConfig.Type) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set polling strategy.
- setPollingStrategyLowerLimitFractionOfThreads(double) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set the limit at which more executions are fetched from the database after fetching a full batch.
- setPollingStrategyUpperLimitFractionOfThreads(double) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set the maximum number of executions to pick and queue for execution.
- setSchedulerName(String) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set name of this scheduler-instance.
- setShutdownMaxWait(Duration) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
How long the scheduler will wait before interrupting executor-service threads.
- setTableName(String) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Name of the table used to track task-executions.
- setThreads(int) - Method in class io.jooby.dbscheduler.DbSchedulerProperties
-
Set the number of threads to use.
V
- value() - Element in annotation interface io.jooby.dbscheduler.Scheduled
-
Expression can be one of these three options:
W
- withDueExecutor(ExecutorService) - Method in class io.jooby.dbscheduler.DbSchedulerModule
- withExecutorService(ExecutorService) - Method in class io.jooby.dbscheduler.DbSchedulerModule
- withHousekeeperExecutor(ScheduledExecutorService) - Method in class io.jooby.dbscheduler.DbSchedulerModule
- withJdbcCustomization(JdbcCustomization) - Method in class io.jooby.dbscheduler.DbSchedulerModule
- withSchedulerName(SchedulerName) - Method in class io.jooby.dbscheduler.DbSchedulerModule
- withSerializer(Serializer) - Method in class io.jooby.dbscheduler.DbSchedulerModule
- withStatsRegistry(StatsRegistry) - Method in class io.jooby.dbscheduler.DbSchedulerModule
- withTasks(List<Task<?>>) - Method in class io.jooby.dbscheduler.DbSchedulerModule
All Classes and Interfaces|All Packages