public class TaskSchedulePlan
extends java.lang.Object
Constructor and Description |
---|
TaskSchedulePlan(int id,
java.util.Set<WorkerSchedulePlan> containers) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Set<WorkerSchedulePlan> |
getContainers() |
java.util.Map<java.lang.Integer,WorkerSchedulePlan> |
getContainersMap() |
Resource |
getMaxContainerResources() |
java.util.Map<java.lang.String,java.lang.Integer> |
getTaskCounts() |
int |
hashCode() |
java.lang.String |
toString() |
public TaskSchedulePlan(int id, java.util.Set<WorkerSchedulePlan> containers)
public Resource getMaxContainerResources()
public java.util.Map<java.lang.Integer,WorkerSchedulePlan> getContainersMap()
public java.util.Set<WorkerSchedulePlan> getContainers()
public java.util.Map<java.lang.String,java.lang.Integer> getTaskCounts()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object