E
- the type of data assignedpublic interface ContainerAssign<E>
Modifier and Type | Method and Description |
---|---|
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.
|
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 idorg.apache.hadoop.yarn.api.records.ContainerId getAssignedContainer(E data)
data
- the data