UrlsController/src/main/java/eu/openaire/urls_controller
Lampros Smyrnaios fb2877dbe8 Upgrade the execution system for the backgroundTasks:
- Submit each task immediately for execution, instead of waiting for a scheduling thread to send all gathered tasks (up to that point) to the ExecutorService (and block until they are finished, before it can start again).
- Hold the Future of each submitted task to a synchronized-list to check the result of each task at a scheduled time.
- Reduce the cpu-time to assure the Service can shut down, by checking if there are "actively" and "about-to-be-executed" tasks, at the same time. Instead of having to rely on the additional checking of the "shutdown"-status of each worker to verify that no active task exist.
- Improve the threads' shutdown procedure.
2023-10-09 17:23:59 +03:00
..
components Upgrade the execution system for the backgroundTasks: 2023-10-09 17:23:59 +03:00
configuration - Rename "ImpalaConnector.java" to "DatabaseConnector.java". 2023-08-23 16:55:23 +03:00
controllers Upgrade the execution system for the backgroundTasks: 2023-10-09 17:23:59 +03:00
models Update Bulk-Import API: 2023-07-25 11:59:47 +03:00
payloads - Process the WorkerReports in background Jobs and post the reportResults to the Workers. 2023-05-24 13:52:28 +03:00
security - Update the Spring-Security-code to use the "SecurityFilterChain", as the previous code was deprecated. 2022-06-27 21:41:32 +03:00
services - Improve some log-messages. 2023-10-06 17:28:54 +03:00
util - Improve some log-messages. 2023-10-06 17:28:54 +03:00
Application.java Upgrade the execution system for the backgroundTasks: 2023-10-09 17:23:59 +03:00