| org.apache.ode.scheduler.simple |
|
| Java Source File Name | Type | Comment |
| DatabaseDelegate.java | Interface | Database abstraction; provides all database access for the simple scheduler. |
| DatabaseException.java | Class | Exception class thrown by
DatabaseDelegate implementations.
author: Maciej Szefler ( m s z e f l e r @ g m a i l . |
| DelegateSupport.java | Class | Support class for creating a JDBC delegate (using in-mem HSQL db).
author: Maciej Szefler ( m s z e f l e r @ g m a i l . |
| JdbcDelegate.java | Class | JDBC-based implementation of the
DatabaseDelegate interface. |
| JdbcDelegateTest.java | Class | Test of the JDBC delegate. |
| Job.java | Class | Like a task, but a little bit better.
author: Maciej Szefler ( m s z e f l e r @ g m a i l . |
| JobComparatorByDate.java | Class | Compare jobs, using scheduled date as sort criteria.
author: Maciej Szefler ( m s z e f l e r @ g m a i l . |
| JobNoLongerInDbException.java | Class | Exception thrown if an attempt has been made to commit a job that is no longer in the
database. |
| RetriesTest.java | Class | |
| SchedulerThread.java | Class | Implements the "todo" queue and prioritized scheduling mechanism. |
| SchedulerThreadTest.java | Class | Test of SchedulerThread. |
| SimpleScheduler.java | Class | A reliable and relatively simple scheduler that uses a database to persist information about scheduled tasks.
The challange is to achieve high performance in a small memory footprint without loss of reliability while supporting
distributed/clustered configurations.
The design is based around three time horizons: "immediate", "near future", and "everything else". |
| SimpleSchedulerTest.java | Class | |
| Task.java | Class | The thing that we schedule.
author: Maciej Szefler ( m s z e f l e r @ g m a i l . |
| TaskRunner.java | Interface | The thing that runs the scheduled tasks.
author: Maciej Szefler ( m s z e f l e r @ g m a i l . |