@Test public void testRecentActivities() { Collection<JobInfo> recentActivities = mSummary.getRecentActivities(); assertEquals("Unexpected length of recent activities", 7, recentActivities.size()); JobInfo[] recentActvitiesArray = new JobInfo[7]; recentActivities.toArray(recentActvitiesArray); assertEquals(1, recentActvitiesArray[0].getId()); assertEquals(6, recentActvitiesArray[1].getId()); assertEquals(5, recentActvitiesArray[2].getId()); assertEquals(3, recentActvitiesArray[3].getId()); assertEquals(2, recentActvitiesArray[4].getId()); assertEquals(4, recentActvitiesArray[5].getId()); assertEquals(7, recentActvitiesArray[6].getId()); }
public List<JobInfo> getRecentActivities() { return Collections.unmodifiableList(mRecentActivities); }
JobServiceSummary { public List<JobInfo> getRecentActivities() { return Collections.unmodifiableList(mRecentActivities); } }
JobServiceSummary { public List<JobInfo> getRecentActivities() { return Collections.unmodifiableList(mRecentActivities); } JobServiceSummary(List<JobInfo> jobInfos);  JobServiceSummary(alluxio.grpc.JobServiceSummary jobServiceSummary); }
JobServiceSummary { public List<JobInfo> getRecentActivities() { return Collections.unmodifiableList(mRecentActivities); } 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> getRecentActivities() { return Collections.unmodifiableList(mRecentActivities); } 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; }