A B C D E H I K L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- auditTask(String, String, String, Instant, Instant, Exception) - Method in interface io.opensw.scheduler.core.domain.audit.TaskAuditRepository
- auditTask(String, String, String, Instant, Instant, Exception) - Method in class io.opensw.scheduler.core.domain.audit.TaskAuditRepositoryImpl
B
- BeanDefinitionException - Exception in io.opensw.scheduler.core.exceptions
-
BeanDefinitionException was throw when a task do not have right definition
- BeanDefinitionException() - Constructor for exception io.opensw.scheduler.core.exceptions.BeanDefinitionException
-
BeanDefinitionException constructor
- BeanDefinitionException(String) - Constructor for exception io.opensw.scheduler.core.exceptions.BeanDefinitionException
-
BeanDefinitionException constructor with custom message
C
- create(Task, String, Instant, Instant) - Static method in class io.opensw.scheduler.core.events.obj.TaskRunEvent
-
Creates event task run event
- create(Task, String, Instant, Instant, Exception) - Static method in class io.opensw.scheduler.core.events.obj.TaskRunEvent
-
Creates event task run event
- create(Class<?>) - Static method in class io.opensw.scheduler.core.scheduler.task.LockedTask
-
Create instance
- create(Class<?>) - Static method in class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
Create instance
- create(Class<?>) - Static method in class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Create instance
- create(String) - Static method in exception io.opensw.scheduler.core.exceptions.TaskDefinitionException
-
Create instance of TaskDefinitionException
D
- data(TaskData) - Method in class io.opensw.scheduler.core.scheduler.task.LockedTask
-
Set data of task
- data(TaskData) - Method in class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
Set data of task
- data(TaskData) - Method in class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Set data of task
- data(TaskData) - Method in class io.opensw.scheduler.core.scheduler.task.Task
-
Set data of task
- DatabaseConfig() - Constructor for class io.opensw.scheduler.SnapSchedulerProperties.DatabaseConfig
- DatabaseException - Exception in io.opensw.scheduler.core.exceptions
-
DatabaseException was throw when have an error in database
- DatabaseException() - Constructor for exception io.opensw.scheduler.core.exceptions.DatabaseException
-
DatabaseException constructor
- DatabaseException(String) - Constructor for exception io.opensw.scheduler.core.exceptions.DatabaseException
-
DatabaseException constructor with custom message
- databaseType(DataSource) - Static method in class io.opensw.scheduler.core.utils.DbUtils
-
Determine database type
- dataClazz(Class<?>) - Method in class io.opensw.scheduler.core.scheduler.task.LockedTask
-
Set data class
- dataClazz(Class<?>) - Method in class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
Set data class
- dataClazz(Class<?>) - Method in class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Set data class
- dataClazz(Class<?>) - Method in class io.opensw.scheduler.core.scheduler.task.Task
-
Set data class
- DB_H2 - Static variable in class io.opensw.scheduler.core.utils.DbUtils
- DB_MARIADB - Static variable in class io.opensw.scheduler.core.utils.DbUtils
- DB_MSSQL_SERVER - Static variable in class io.opensw.scheduler.core.utils.DbUtils
- DB_MYSQL - Static variable in class io.opensw.scheduler.core.utils.DbUtils
- DB_POSTGRESQL - Static variable in class io.opensw.scheduler.core.utils.DbUtils
- dbPollingInterval() - Method in class io.opensw.scheduler.SnapSchedulerProperties
-
Database polling tasks interval
- DbPullRunner - Class in io.opensw.scheduler.core.scheduler
- DbPullRunner() - Constructor for class io.opensw.scheduler.core.scheduler.DbPullRunner
- DbUtils - Class in io.opensw.scheduler.core.utils
- DEFAULT_NAME - Static variable in class io.opensw.scheduler.core.scheduler.task.OneTimeTask
- DEFAULT_NAME - Static variable in class io.opensw.scheduler.core.scheduler.task.RecurringTask
E
- ERROR_CLOSE_STMT_MSG - Static variable in class io.opensw.scheduler.core.utils.DbUtils
- EventObj - Interface in io.opensw.scheduler.core.events.obj
-
The Interface Event Object.
- execute() - Method in class io.opensw.scheduler.core.scheduler.task.TaskDataExecutor
- execute() - Method in interface io.opensw.scheduler.core.scheduler.task.TaskExecutor
-
Abstract method with execution task code
- execute(T) - Method in class io.opensw.scheduler.core.scheduler.task.TaskDataExecutor
-
Abstract method with execution task code
H
- H2_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.audit.TaskAuditRepositoryImpl
- H2_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- H2_LOCK_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.lock.LockRepositoryImpl
- H2_LOCK_SELECT_QUERY - Static variable in class io.opensw.scheduler.core.domain.lock.LockRepositoryImpl
- H2_SELECT_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- H2_UPDATE_NOT_RUN_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- H2_UPDATE_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- H2_UPDATE_RECURRING_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- handleDbTasks() - Method in class io.opensw.scheduler.core.scheduler.SnapTaskHandler
-
Handle tasks from database
- handleTask(Task) - Method in class io.opensw.scheduler.core.scheduler.SnapTaskHandler
-
Handle task
I
- insertTask(Task) - Method in interface io.opensw.scheduler.core.domain.scheduler.SchedulerRepository
-
Save task on database
- insertTask(Task) - Method in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- insertTask(Task, boolean, String) - Method in interface io.opensw.scheduler.core.domain.scheduler.SchedulerRepository
-
Save task on database
- insertTask(Task, boolean, String) - Method in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- interval(long) - Method in class io.opensw.scheduler.core.scheduler.DbPullRunner
-
Change interval duration
- io.opensw.scheduler - package io.opensw.scheduler
- io.opensw.scheduler.core - package io.opensw.scheduler.core
- io.opensw.scheduler.core.annotations - package io.opensw.scheduler.core.annotations
- io.opensw.scheduler.core.config - package io.opensw.scheduler.core.config
- io.opensw.scheduler.core.domain - package io.opensw.scheduler.core.domain
- io.opensw.scheduler.core.domain.audit - package io.opensw.scheduler.core.domain.audit
- io.opensw.scheduler.core.domain.lock - package io.opensw.scheduler.core.domain.lock
- io.opensw.scheduler.core.domain.scheduler - package io.opensw.scheduler.core.domain.scheduler
- io.opensw.scheduler.core.events - package io.opensw.scheduler.core.events
- io.opensw.scheduler.core.events.obj - package io.opensw.scheduler.core.events.obj
- io.opensw.scheduler.core.exceptions - package io.opensw.scheduler.core.exceptions
- io.opensw.scheduler.core.scheduler - package io.opensw.scheduler.core.scheduler
- io.opensw.scheduler.core.scheduler.task - package io.opensw.scheduler.core.scheduler.task
- io.opensw.scheduler.core.utils - package io.opensw.scheduler.core.utils
K
- key() - Method in annotation type io.opensw.scheduler.core.annotations.SnapLock
-
Key of lock, this key was unique to identify task
- key(String) - Method in class io.opensw.scheduler.core.scheduler.task.LockedTask
-
Set key
- key(String) - Method in class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
Set key
- key(String) - Method in class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Set key
- key(String) - Method in class io.opensw.scheduler.core.scheduler.task.Task
-
Set key
L
- loadServerName() - Static method in class io.opensw.scheduler.core.utils.ServerUtils
-
Load server name
- loadTasksToRun(String, long) - Method in interface io.opensw.scheduler.core.domain.scheduler.SchedulerRepository
-
Load tasks to run
- loadTasksToRun(String, long) - Method in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- LOCKED_TASK - io.opensw.scheduler.core.scheduler.task.TaskType
- LockedTask - Class in io.opensw.scheduler.core.scheduler.task
- LockedTask(Class<?>) - Constructor for class io.opensw.scheduler.core.scheduler.task.LockedTask
-
Locked task default constructor
- LockRepository - Interface in io.opensw.scheduler.core.domain.lock
- LockRepositoryImpl - Class in io.opensw.scheduler.core.domain.lock
- LockRepositoryImpl(DataSource) - Constructor for class io.opensw.scheduler.core.domain.lock.LockRepositoryImpl
- lockTask(String, String, long, String) - Method in interface io.opensw.scheduler.core.domain.lock.LockRepository
-
Acquire task lock from database
- lockTask(String, String, long, String) - Method in class io.opensw.scheduler.core.domain.lock.LockRepositoryImpl
M
- MSSQL_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.audit.TaskAuditRepositoryImpl
- MSSQL_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- MSSQL_LOCK_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.lock.LockRepositoryImpl
- MSSQL_LOCK_SELECT_QUERY - Static variable in class io.opensw.scheduler.core.domain.lock.LockRepositoryImpl
- MSSQL_SELECT_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- MSSQL_UPDATE_NOT_RUN_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- MSSQL_UPDATE_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- MSSQL_UPDATE_RECURRING_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- MYSQL_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.audit.TaskAuditRepositoryImpl
- MYSQL_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- MYSQL_LOCK_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.lock.LockRepositoryImpl
- MYSQL_LOCK_SELECT_QUERY - Static variable in class io.opensw.scheduler.core.domain.lock.LockRepositoryImpl
- MYSQL_SELECT_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- MYSQL_UPDATE_NOT_RUN_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- MYSQL_UPDATE_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- MYSQL_UPDATE_RECURRING_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
N
- name(String) - Method in class io.opensw.scheduler.core.scheduler.task.LockedTask
-
Set name
- name(String) - Method in class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
Set name
- name(String) - Method in class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Set name
- name(String) - Method in class io.opensw.scheduler.core.scheduler.task.Task
-
Set name
O
- ONE_TIME - io.opensw.scheduler.core.scheduler.task.TaskType
- OneTimeTask - Class in io.opensw.scheduler.core.scheduler.task
- OneTimeTask(Class<?>) - Constructor for class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
One time task default constructor
- OneTimeTask(Class<?>, String) - Constructor for class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
One time task constructor with required fields (key)
- OneTimeTask(Class<?>, String, TaskData) - Constructor for class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
One time task constructor with key and data fields
- OneTimeTask(Class<?>, String, String) - Constructor for class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
One time task constructor with required fields (key)
- OneTimeTask(Class<?>, String, String, TaskData) - Constructor for class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
One time task constructor with key and data fields
- onExit() - Method in class io.opensw.scheduler.core.scheduler.SnapSchedulerRunner
-
On exit application change picked tasks to false
- onTaskRunEventFired(TaskRunEvent) - Method in class io.opensw.scheduler.core.events.SnapEventListener
-
On task run
P
- POSTGRE_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.audit.TaskAuditRepositoryImpl
- POSTGRE_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- POSTGRE_LOCK_INSERT_QUERY - Static variable in class io.opensw.scheduler.core.domain.lock.LockRepositoryImpl
- POSTGRE_LOCK_SELECT_QUERY - Static variable in class io.opensw.scheduler.core.domain.lock.LockRepositoryImpl
- POSTGRE_SELECT_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- POSTGRE_UPDATE_NOT_RUN_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- POSTGRE_UPDATE_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- POSTGRE_UPDATE_RECURRING_QUERY - Static variable in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
R
- recurrence(Duration) - Method in class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Set recurrence
- RECURRING - io.opensw.scheduler.core.scheduler.task.TaskType
- RecurringTask - Class in io.opensw.scheduler.core.scheduler.task
- RecurringTask(Class<?>) - Constructor for class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Recurring task default constructor
- RecurringTask(Class<?>, String) - Constructor for class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Recurring task constructor with required fields (key)
- RecurringTask(Class<?>, String, TaskData) - Constructor for class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Recurring task constructor with key and data fields
- RecurringTask(Class<?>, String, String) - Constructor for class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Recurring task constructor with required fields (key)
- RecurringTask(Class<?>, String, String, TaskData) - Constructor for class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Recurring task constructor with key and data fields
- RecurringTask(Class<?>, Duration) - Constructor for class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Recurring task default constructor
- run() - Method in class io.opensw.scheduler.core.scheduler.DbPullRunner
- run() - Method in class io.opensw.scheduler.core.scheduler.TimerTaskRunner
- run(String...) - Method in class io.opensw.scheduler.core.scheduler.SnapSchedulerRunner
-
Run after application start
- runAt(Instant) - Method in class io.opensw.scheduler.core.scheduler.task.LockedTask
-
Set run at
- runAt(Instant) - Method in class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
Set run at
- runAt(Instant) - Method in class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Set run at
- runAt(Instant) - Method in class io.opensw.scheduler.core.scheduler.task.Task
-
Set run at
S
- schedule(Task) - Method in class io.opensw.scheduler.core.scheduler.SnapScheduler
-
Task schedule
- SchedulerRepository - Interface in io.opensw.scheduler.core.domain.scheduler
- SchedulerRepositoryImpl - Class in io.opensw.scheduler.core.domain.scheduler
- SchedulerRepositoryImpl(DataSource, ObjectMapper) - Constructor for class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- ServerUtils - Class in io.opensw.scheduler.core.utils
- snapDataSource() - Method in class io.opensw.scheduler.core.config.SnapSchedulerConfig
-
Bean to specific datasource
- SnapEventListener - Class in io.opensw.scheduler.core.events
-
Service event listener
- SnapEventListener() - Constructor for class io.opensw.scheduler.core.events.SnapEventListener
- SnapExceptionUtils - Class in io.opensw.scheduler.core.utils
- snapLock() - Method in class io.opensw.scheduler.core.annotations.SnapLockAspect
-
Intercepts all methods annotated with @
SnapLock. - SnapLock - Annotation Type in io.opensw.scheduler.core.annotations
- SnapLockAspect - Class in io.opensw.scheduler.core.annotations
-
The Class AuditAspect.
- SnapLockAspect() - Constructor for class io.opensw.scheduler.core.annotations.SnapLockAspect
- snapLockResolver(ProceedingJoinPoint, SnapLock) - Method in class io.opensw.scheduler.core.annotations.SnapLockAspect
-
PreAuthorizeApp Resolver.
- SnapScheduler - Class in io.opensw.scheduler.core.scheduler
- SnapScheduler() - Constructor for class io.opensw.scheduler.core.scheduler.SnapScheduler
- SnapSchedulerConfig - Class in io.opensw.scheduler.core.config
- SnapSchedulerConfig() - Constructor for class io.opensw.scheduler.core.config.SnapSchedulerConfig
- SnapSchedulerProperties - Class in io.opensw.scheduler
- SnapSchedulerProperties() - Constructor for class io.opensw.scheduler.SnapSchedulerProperties
- SnapSchedulerProperties.DatabaseConfig - Class in io.opensw.scheduler
- SnapSchedulerRunner - Class in io.opensw.scheduler.core.scheduler
- SnapSchedulerRunner() - Constructor for class io.opensw.scheduler.core.scheduler.SnapSchedulerRunner
- SnapTaskHandler - Class in io.opensw.scheduler.core.scheduler
- SnapTaskHandler() - Constructor for class io.opensw.scheduler.core.scheduler.SnapTaskHandler
T
- Task - Class in io.opensw.scheduler.core.scheduler.task
- Task(Class<?>, String, TaskType) - Constructor for class io.opensw.scheduler.core.scheduler.task.Task
-
Task constructor
- Task(Class<?>, String, String, TaskType) - Constructor for class io.opensw.scheduler.core.scheduler.task.Task
-
Task constructor
- Task(Class<?>, String, String, TaskType, TaskData) - Constructor for class io.opensw.scheduler.core.scheduler.task.Task
-
Task constructor
- TaskAuditRepository - Interface in io.opensw.scheduler.core.domain.audit
- TaskAuditRepositoryImpl - Class in io.opensw.scheduler.core.domain.audit
- TaskAuditRepositoryImpl(DataSource, ObjectMapper) - Constructor for class io.opensw.scheduler.core.domain.audit.TaskAuditRepositoryImpl
- taskData() - Method in class io.opensw.scheduler.core.scheduler.task.TaskData
-
log taskData
- TaskData - Class in io.opensw.scheduler.core.scheduler.task
- TaskData() - Constructor for class io.opensw.scheduler.core.scheduler.task.TaskData
- TaskDataExecutor<T extends TaskData> - Class in io.opensw.scheduler.core.scheduler.task
- TaskDataExecutor() - Constructor for class io.opensw.scheduler.core.scheduler.task.TaskDataExecutor
- TaskDefinitionException - Exception in io.opensw.scheduler.core.exceptions
-
TaskDefinitionException was throw when a task do not have right definition
- TaskDefinitionException() - Constructor for exception io.opensw.scheduler.core.exceptions.TaskDefinitionException
-
TaskDefinitionException constructor
- TaskDefinitionException(String) - Constructor for exception io.opensw.scheduler.core.exceptions.TaskDefinitionException
-
TaskDefinitionException constructor with custom message
- TaskExecutor - Interface in io.opensw.scheduler.core.scheduler.task
- TaskRunEvent - Class in io.opensw.scheduler.core.events.obj
- TaskRunEvent() - Constructor for class io.opensw.scheduler.core.events.obj.TaskRunEvent
- TaskType - Enum in io.opensw.scheduler.core.scheduler.task
- terminate() - Method in class io.opensw.scheduler.core.scheduler.DbPullRunner
-
Set running to false to thread exit
- time() - Method in annotation type io.opensw.scheduler.core.annotations.SnapLock
-
Time in seconds that lock was active
- TimerTaskRunner - Class in io.opensw.scheduler.core.scheduler
- TimerTaskRunner() - Constructor for class io.opensw.scheduler.core.scheduler.TimerTaskRunner
- toMap(Exception) - Static method in class io.opensw.scheduler.core.utils.SnapExceptionUtils
-
Convert exception to map.
- type(TaskType) - Method in class io.opensw.scheduler.core.scheduler.task.LockedTask
-
Set type
- type(TaskType) - Method in class io.opensw.scheduler.core.scheduler.task.OneTimeTask
-
Set type
- type(TaskType) - Method in class io.opensw.scheduler.core.scheduler.task.RecurringTask
-
Set type
- type(TaskType) - Method in class io.opensw.scheduler.core.scheduler.task.Task
-
Set type
U
- UnexpectedException - Exception in io.opensw.scheduler.core.exceptions
-
UnexpectedException was throw when unexpected exception occur
- UnexpectedException() - Constructor for exception io.opensw.scheduler.core.exceptions.UnexpectedException
-
UnexpectedException constructor
- UnexpectedException(String) - Constructor for exception io.opensw.scheduler.core.exceptions.UnexpectedException
-
UnexpectedException constructor with custom message
- updateNotRunnedTask(String) - Method in interface io.opensw.scheduler.core.domain.scheduler.SchedulerRepository
-
Update not runned tasks to make them available to be picked by another servers
- updateNotRunnedTask(String) - Method in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- updateRecurringTask(RecurringTask, boolean, String) - Method in interface io.opensw.scheduler.core.domain.scheduler.SchedulerRepository
-
Update recurring task data after run This update running fields to put task available to run another time Changed fields: picked = false, picked_by = null and end_run = null
- updateRecurringTask(RecurringTask, boolean, String) - Method in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
- updateTask(String, Instant) - Method in interface io.opensw.scheduler.core.domain.scheduler.SchedulerRepository
-
Update task data after run
- updateTask(String, Instant) - Method in class io.opensw.scheduler.core.domain.scheduler.SchedulerRepositoryImpl
V
- valueOf(String) - Static method in enum io.opensw.scheduler.core.scheduler.task.TaskType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.opensw.scheduler.core.scheduler.task.TaskType
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages