UrlsController/src/main/java/eu/openaire/urls_controller/controllers
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
..
BulkImportController.java Upgrade the execution system for the backgroundTasks: 2023-10-09 17:23:59 +03:00
GeneralController.java - Add the "getWorkersInfo" endpoint. 2023-05-23 14:57:15 +03:00
ShutdownController.java - Add a missing change. 2023-10-04 16:17:12 +03:00
StatsController.java - Rename "ImpalaConnector.java" to "DatabaseConnector.java". 2023-08-23 16:55:23 +03:00
TestController.java - Rename "ImpalaConnector.java" to "DatabaseConnector.java". 2023-08-23 16:55:23 +03:00
UrlsController.java Upgrade the execution system for the backgroundTasks: 2023-10-09 17:23:59 +03:00