You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Abhishek Shivanna (JIRA)" <ji...@apache.org> on 2017/10/06 21:56:00 UTC

[jira] [Created] (SAMZA-1448) Change JobStatusProvider interface so functions don't mutate the state of passed objects

Abhishek Shivanna created SAMZA-1448:
----------------------------------------

             Summary: Change JobStatusProvider interface so functions don't mutate the state of passed objects
                 Key: SAMZA-1448
                 URL: https://issues.apache.org/jira/browse/SAMZA-1448
             Project: Samza
          Issue Type: Bug
            Reporter: Abhishek Shivanna
            Priority: Minor


The current functions: 
{code:java}
void getJobStatuses(Collection<Job> jobs)
Job getJobStatus(JobInstance jobInstance)
{code}


could be re-written as:

{code:java}
Map<String, JobStatus> getJobStatuses(List<String> jobIds) // return: map of JobId to JobStatus
JobStatus getJobStatus(String jobId)
{code}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)