You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Sergiy Matusevych (JIRA)" <ji...@apache.org> on 2016/09/07 23:52:20 UTC

[jira] [Created] (REEF-1557) Refactor logic related to Evaluator state

Sergiy Matusevych created REEF-1557:
---------------------------------------

             Summary: Refactor logic related to Evaluator state
                 Key: REEF-1557
                 URL: https://issues.apache.org/jira/browse/REEF-1557
             Project: REEF
          Issue Type: Improvement
          Components: REEF Driver
            Reporter: Sergiy Matusevych
            Assignee: Sergiy Matusevych
            Priority: Minor


We need to refactor the logic related to {{EvaluatorState}} and {{State}} enums. It is currently spread across several classes, and is not always consistent. Method names are clumsy, e.g. {{.isDoneOrFailedOrKilled()}}; {{EvaluatorStatusManager}} class has all its methods synchronized, although having an atomic enum reference would be enough. We also need to add more javadocs and clean up the code for readability.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)