You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Dhruv Mahajan (JIRA)" <ji...@apache.org> on 2015/10/13 07:43:05 UTC

[jira] [Created] (REEF-841) IIMRUClient design needs improvement

Dhruv Mahajan created REEF-841:
----------------------------------

             Summary: IIMRUClient design needs improvement
                 Key: REEF-841
                 URL: https://issues.apache.org/jira/browse/REEF-841
             Project: REEF
          Issue Type: Sub-task
          Components: REEF.NET Client
    Affects Versions: 0.14
         Environment: c#
            Reporter: Dhruv Mahajan
            Assignee: Dhruv Mahajan
             Fix For: 0.14


The aim of this jira is to improve the IIMRUClient design. Specifically,

a) IMRUJobDefinitionBuilder is not inherited from any interface. As a result the class is public and this makes it difficult to change the implementation and logic in future. So we will introduce IIMRUJobDefinitionBuilder.

b) IIMRUClient will have another method: IIMRUJobDefinitionBuilder GetJobDefinitionBuilder() which will give users the IMRU job builder. In addition IIMRUJobDefinitionBuilder will have a method TResult Submit(IIMRUClient) that will give users the convenience to submit jobs in the following manner:

IIMRUClient.GetJobDefinitionBuilder()
.Set(.............)
.Set(..............)
...
...
.Submit(IIMRUClient);



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