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)