/** * * @return the split id */ public String getSplitId(){ return getFromMap(NEW_SPLIT_ID); }
/** * This method should be used by score engine once it finishes executing a step, and checks * if the running execution plan should be changed * @return the id of the requested running execution plan */ public Long pullRequestForChangingExecutionPlan(){ return removeFromMap(REQUESTED_EXECUTION_PLAN_ID); }
protected static void prepareNodeName(ExecutionRuntimeServices executionRuntimeServices, String nodeName, int flowDepth) { executionRuntimeServices.setNodeName(nodeName); executionRuntimeServices.setNodeNameWithDepth(nodeName + "_" + flowDepth); }
/** * * @return the missing group name */ public String getNoWorkerInGroupName() { return getFromMap(NO_WORKERS_IN_GROUP); }
/** * Removes the branches data and returns it */ public List<StartBranchDataContainer> removeBranchesData() { return removeFromMap(BRANCH_DATA); }
/** * * @return the flow termination type : one of ExecutionStatus values */ public ExecutionStatus getFlowTerminationType(){ return getFromMap(FLOW_TERMINATION_TYPE); }
/** * @return a list of all branches ended. */ public List<EndBranchDataContainer> getFinishedChildBranchesData() { return (List<EndBranchDataContainer>) removeFromMap(ExecutionParametersConsts.FINISHED_CHILD_BRANCHES_DATA); }
public boolean isStepPersist(){ if (getFromMap(STEP_PERSIST) == null){ return false; } else { return getFromMap(STEP_PERSIST); } }
/** * Removes the branches data and returns it */ public List<StartBranchDataContainer> removeBranchesData() { return removeFromMap(BRANCH_DATA); }
/** * * @return all the added events */ public ArrayDeque<ScoreEvent> getEvents() { return getFromMap(SCORE_EVENTS_QUEUE); }
/** * @return a list of all branches ended. */ public List<EndBranchDataContainer> getFinishedChildBranchesData() { return (List<EndBranchDataContainer>) removeFromMap(ExecutionParametersConsts.FINISHED_CHILD_BRANCHES_DATA); }
/** * * @return the error key of the step */ public String getStepErrorKey(){ return getFromMap(EXECUTION_STEP_ERROR_KEY); }
/** * * @return the split id */ public String getSplitId(){ return getFromMap(NEW_SPLIT_ID); }
/** * * @return the brunchId of the current execution */ public String getBranchId(){ return getFromMap(BRANCH_ID); }
/** * * @return the missing group name */ public String getNoWorkerInGroupName() { return getFromMap(NO_WORKERS_IN_GROUP); }
/** * * @return the execution id */ public Long getExecutionId(){ return getFromMap(EXECUTION_ID_CONTEXT); }
/** * * @return the flow termination type : one of ExecutionStatus values */ public ExecutionStatus getFlowTerminationType(){ return getFromMap(FLOW_TERMINATION_TYPE); }
public boolean isStepPersist(){ if (getFromMap(STEP_PERSIST) == null){ return false; } else { return getFromMap(STEP_PERSIST); } }
/** * * @return the execution id */ public Long getExecutionId(){ return getFromMap(EXECUTION_ID_CONTEXT); }
/** * * @return all the added events */ public ArrayDeque<ScoreEvent> getEvents() { return getFromMap(SCORE_EVENTS_QUEUE); }