Class PopularTagsIterator
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.algorithm.iterators.PopularTagsIterator
- All Implemented Interfaces:
Iterator<org.apache.hadoop.yarn.api.records.SchedulingRequest>
public class PopularTagsIterator
extends Object
implements Iterator<org.apache.hadoop.yarn.api.records.SchedulingRequest>
Traverse Scheduling requests with the most popular tags (count) first.
Currently the count is per Batch but could use TagManager for global count.
-
Constructor Summary
ConstructorsConstructorDescriptionPopularTagsIterator(Collection<org.apache.hadoop.yarn.api.records.SchedulingRequest> schedulingRequests) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
PopularTagsIterator
public PopularTagsIterator(Collection<org.apache.hadoop.yarn.api.records.SchedulingRequest> schedulingRequests)
-
-
Method Details