updated thread handling:

- threads are no longer pooled (this makes naming threads difficult)
- threads are now named by their causing event, which improves logging

updated calls to thread.sleep: those are now provided by new class Delayed Execution
This commit is contained in:
Stephan Richter
2021-02-28 13:03:21 +01:00
parent cabab80b5c
commit b951b948e5
47 changed files with 293 additions and 260 deletions

View File

@@ -10,7 +10,7 @@ public class FinishRoute extends Action {
}
@Override
public boolean fire(Context context) {
public boolean fire(Context context,Object cause) {
Route route = context.route();
if (isSet(route)) route.finish();
return true;