Bill Farner created AURORA-1118:
-----------------------------------

             Summary: Consider changing TaskStore interfaces to return 
Iterables instead of Sets
                 Key: AURORA-1118
                 URL: https://issues.apache.org/jira/browse/AURORA-1118
             Project: Aurora
          Issue Type: Story
          Components: Scheduler
            Reporter: Bill Farner


TaskStore.Mutable currently has two APIs that return Sets:

{code}
ImmutableSet<IScheduledTask> fetchTasks(Query.Builder query);
ImmutableSet<IScheduledTask> mutateTasks(
    Query.Builder query,
    Function<IScheduledTask, IScheduledTask> mutator);
{code}

If the store provides an expectation of unique values, we should be able to 
save a decent amount of overhead by avoiding the Set computation.



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

Reply via email to