|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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(Object id,
Resource capability,
String[] hosts,
String[] racks,
Priority priority)
Instantiates a new container request data. |
|
| Method Summary | |
|---|---|
Resource |
getCapability()
Gets the capability. |
String[] |
getHosts()
Gets the hosts. |
Object |
getId()
Gets the id. |
Priority |
getPriority()
Gets the priority. |
String[] |
getRacks()
Gets the racks. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerRequestHint(Object id,
Resource capability,
String[] hosts,
String[] racks,
Priority priority)
id - the idcapability - the capabilityhosts - the hostsracks - the rackspriority - the priority| Method Detail |
|---|
public Object getId()
public Resource getCapability()
public String[] getHosts()
public String[] getRacks()
public Priority getPriority()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||