|
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.assign.DefaultContainerAssign
public class DefaultContainerAssign
Default ContainerAssign
implementation using
Object
s as assigned data.
Constructor Summary | |
---|---|
DefaultContainerAssign()
|
Method Summary | |
---|---|
void |
assign(org.apache.hadoop.yarn.api.records.ContainerId containerId,
java.lang.Object data)
Assign data with container. |
org.apache.hadoop.yarn.api.records.ContainerId |
getAssignedContainer(java.lang.Object data)
Gets the assigned container. |
java.lang.Object |
getAssignedData(org.apache.hadoop.yarn.api.records.ContainerId containerId)
Gets the assigned data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultContainerAssign()
Method Detail |
---|
public void assign(org.apache.hadoop.yarn.api.records.ContainerId containerId, java.lang.Object data)
ContainerAssign
assign
in interface ContainerAssign<java.lang.Object>
containerId
- the container iddata
- the datapublic java.lang.Object getAssignedData(org.apache.hadoop.yarn.api.records.ContainerId containerId)
ContainerAssign
getAssignedData
in interface ContainerAssign<java.lang.Object>
containerId
- the container id
public org.apache.hadoop.yarn.api.records.ContainerId getAssignedContainer(java.lang.Object data)
ContainerAssign
getAssignedContainer
in interface ContainerAssign<java.lang.Object>
data
- the data
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |