fabric-synctask #1

Merged
quentinlegot merged 10 commits from fabric-synctask into master 2023-02-13 15:26:38 +01:00

10 Commits

Author SHA1 Message Date
0f902faa1b Fix fabric.mod.json, add run folder to gitignore
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2023-02-13 15:25:08 +01:00
f5db55e96e Added tests 2023-02-13 15:00:13 +01:00
c32e72dda6 Move each task scheduler to a specific class: Scheduler.java, AsyncPeriodicTasks.java scheduler is now on server thread (send task to async worker)
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2023-02-13 14:17:03 +01:00
be9f422f1f Made some twerks to tasks, fix task period for PeriodicSyncTask
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2023-02-12 19:10:24 +01:00
24656fa74f add OneTimeSyncTask and started to implement its test (not finished)
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2023-02-12 14:51:30 +01:00
9123d71a7e Add tests to PeriodicSyncTask
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2023-02-12 14:24:09 +01:00
e9c97df089 Fix issue avoiding the mod not to compile, add a test for asyncTasks (still need to be implemented)
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2023-02-03 23:52:50 +01:00
e7178d44a9 PeriodicSyncTask and AsyncPeriodicTasks should work now (untested)
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2023-02-03 23:40:01 +01:00
b1ee9344b8 Added AsyncPeriodicTasks, improved a bit PeriodicSyncTask (still a bit of work to do)
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2023-02-03 17:51:16 +01:00
863952b120 Added periodic task (but unfinished), have to rework a bit AsyncTasks (add a scheduler to add cancellability) 2023-02-03 12:31:51 +01:00