|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- the type of data assignedpublic interface ContainerAssign<E>
Interface storing and keeping data associated with a container. This is useful when i.e. container is failing and appmaster needs to decide what to do with it.
Method Summary | |
---|---|
void |
assign(org.apache.hadoop.yarn.api.records.ContainerId containerId,
E data)
Assign data with container. |
org.apache.hadoop.yarn.api.records.ContainerId |
getAssignedContainer(E data)
Gets the assigned container. |
E |
getAssignedData(org.apache.hadoop.yarn.api.records.ContainerId containerId)
Gets the assigned data. |
Method Detail |
---|
void assign(org.apache.hadoop.yarn.api.records.ContainerId containerId, E data)
containerId
- the container iddata
- the dataE getAssignedData(org.apache.hadoop.yarn.api.records.ContainerId containerId)
containerId
- the container id
org.apache.hadoop.yarn.api.records.ContainerId getAssignedContainer(E data)
data
- the data
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |