private void executeAction(WorkflowActionNode node, WorkflowToken token) throws Exception { status.put(node.getNodeId(), node); CountDownLatch executorTerminateLatch = new CountDownLatch(1); ExecutorService executorService = createExecutor(1, executorTerminateLatch, "action-" + node.getNodeId() + "-%d");
private void executeAction(WorkflowActionNode node, WorkflowToken token) throws Exception { status.put(node.getNodeId(), node); CountDownLatch executorTerminateLatch = new CountDownLatch(1); ExecutorService executorService = createExecutor(1, executorTerminateLatch, "action-" + node.getNodeId() + "-%d");
ExecutorService executorService = createExecutor(fork.getBranches().size(), executorTerminateLatch, "fork-" + fork.getNodeId() + "-%d"); CompletionService<Map.Entry<String, WorkflowToken>> completionService =
ExecutorService executorService = createExecutor(fork.getBranches().size(), executorTerminateLatch, "fork-" + fork.getNodeId() + "-%d"); CompletionService<Map.Entry<String, WorkflowToken>> completionService =