|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.am.assign.DefaultContainerAssign
public class DefaultContainerAssign
Default ContainerAssign implementation using
Objects as assigned data.
| Constructor Summary | |
|---|---|
DefaultContainerAssign()
|
|
| Method Summary | |
|---|---|
void |
assign(ContainerId containerId,
Object data)
Assign data with container. |
ContainerId |
getAssignedContainer(Object data)
Gets the assigned container. |
Object |
getAssignedData(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(ContainerId containerId,
Object data)
ContainerAssign
assign in interface ContainerAssign<Object>containerId - the container iddata - the datapublic Object getAssignedData(ContainerId containerId)
ContainerAssign
getAssignedData in interface ContainerAssign<Object>containerId - the container id
public ContainerId getAssignedContainer(Object data)
ContainerAssign
getAssignedContainer in interface ContainerAssign<Object>data - the data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||