public abstract class AbstractGridMember extends java.lang.Object implements GridMember
GridMember
.Constructor and Description |
---|
AbstractGridMember(org.apache.hadoop.yarn.api.records.Container container)
Instantiates a new abstract grid member.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.records.Container |
getContainer()
Gets the container.
|
org.apache.hadoop.yarn.api.records.ContainerId |
getId()
Gets a container member identifier.
|
public AbstractGridMember(org.apache.hadoop.yarn.api.records.Container container)
container
- the containerpublic org.apache.hadoop.yarn.api.records.ContainerId getId()
GridMember
getId
in interface GridMember
public org.apache.hadoop.yarn.api.records.Container getContainer()
GridMember
getContainer
in interface GridMember