}
@Override
public void beforeInvokeAll(ForkJoinTask<?> task1, ForkJoinTask<?> task2) {
JArmusController handler = getController();
handler.beforeAwaitMany(Arrays.asList(task1, task2), 1);
handler.beforeTask();
}
private static JArmusController getController() {
return JArmus.getSetup().getController();