|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.am.container.ContainerRequestHint
public class ContainerRequestHint
Helper class used to add request data hints. None of the parameters set here are not guaranteed to be used. For example setting an array of hosts and racks just tells user of this class that we'd like to localise into those locations.
Constructor Summary | |
---|---|
ContainerRequestHint(java.lang.Object id,
org.apache.hadoop.yarn.api.records.Resource capability,
java.lang.String[] hosts,
java.lang.String[] racks,
org.apache.hadoop.yarn.api.records.Priority priority)
Instantiates a new container request data. |
Method Summary | |
---|---|
org.apache.hadoop.yarn.api.records.Resource |
getCapability()
Gets the capability. |
java.lang.String[] |
getHosts()
Gets the hosts. |
java.lang.Object |
getId()
Gets the id. |
org.apache.hadoop.yarn.api.records.Priority |
getPriority()
Gets the priority. |
java.lang.String[] |
getRacks()
Gets the racks. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContainerRequestHint(java.lang.Object id, org.apache.hadoop.yarn.api.records.Resource capability, java.lang.String[] hosts, java.lang.String[] racks, org.apache.hadoop.yarn.api.records.Priority priority)
id
- the idcapability
- the capabilityhosts
- the hostsracks
- the rackspriority
- the priorityMethod Detail |
---|
public java.lang.Object getId()
public org.apache.hadoop.yarn.api.records.Resource getCapability()
public java.lang.String[] getHosts()
public java.lang.String[] getRacks()
public org.apache.hadoop.yarn.api.records.Priority getPriority()
public java.lang.String toString()
toString
in class java.lang.Object
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |