@Test public void testRecentFailures() { Collection<JobInfo> recentFailures = mSummary.getRecentFailures(); assertEquals("Unexpected length of last activities", 3, recentFailures.size()); JobInfo[] recentFailuresArray = new JobInfo[3]; recentFailures.toArray(recentFailuresArray); assertEquals(1, recentFailuresArray[0].getId()); assertEquals(6, recentFailuresArray[1].getId()); assertEquals(4, recentFailuresArray[2].getId()); }
public List<JobInfo> getRecentFailures() { return Collections.unmodifiableList(mRecentFailures); }
JobServiceSummary { public List<JobInfo> getRecentFailures() { return Collections.unmodifiableList(mRecentFailures); } }
JobServiceSummary { public List<JobInfo> getRecentFailures() { return Collections.unmodifiableList(mRecentFailures); } JobServiceSummary(List<JobInfo> jobInfos);  JobServiceSummary(alluxio.grpc.JobServiceSummary jobServiceSummary); }
JobServiceSummary { public List<JobInfo> getRecentFailures() { return Collections.unmodifiableList(mRecentFailures); } JobServiceSummary(List<JobInfo> jobInfos);  JobServiceSummary(alluxio.grpc.JobServiceSummary jobServiceSummary); Collection<StatusSummary> getSummaryPerStatus(); List<JobInfo> getRecentActivities(); List<JobInfo> getRecentFailures(); List<JobInfo> getLongestRunning(); alluxio.grpc.JobServiceSummary toProto(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
JobServiceSummary { public List<JobInfo> getRecentFailures() { return Collections.unmodifiableList(mRecentFailures); } JobServiceSummary(List<JobInfo> jobInfos);  JobServiceSummary(alluxio.grpc.JobServiceSummary jobServiceSummary); Collection<StatusSummary> getSummaryPerStatus(); List<JobInfo> getRecentActivities(); List<JobInfo> getRecentFailures(); List<JobInfo> getLongestRunning(); alluxio.grpc.JobServiceSummary toProto(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final int RECENT_LENGTH; }