Modifier and Type | Method and Description |
---|---|
abstract AMCommand |
AllocateResponse.getAMCommand()
If the
ResourceManager needs the
ApplicationMaster to take some action then it will send an
AMCommand to the ApplicationMaster . |
Modifier and Type | Method and Description |
---|---|
static AllocateResponse |
AllocateResponse.newInstance(int responseId,
List<ContainerStatus> completedContainers,
List<Container> allocatedContainers,
List<NodeReport> updatedNodes,
Resource availResources,
AMCommand command,
int numClusterNodes,
PreemptionMessage preempt,
List<NMToken> nmTokens) |
abstract void |
AllocateResponse.setAMCommand(AMCommand command) |
Modifier and Type | Method and Description |
---|---|
AMCommand |
AllocateResponsePBImpl.getAMCommand() |
Modifier and Type | Method and Description |
---|---|
void |
AllocateResponsePBImpl.setAMCommand(AMCommand command) |
Modifier and Type | Method and Description |
---|---|
static AMCommand |
AMCommand.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMCommand[] |
AMCommand.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static AMCommand |
ProtoUtils.convertFromProtoFormat(YarnProtos.AMCommandProto e) |
Modifier and Type | Method and Description |
---|---|
static YarnProtos.AMCommandProto |
ProtoUtils.convertToProtoFormat(AMCommand e) |
Modifier and Type | Method and Description |
---|---|
static AllocateResponse |
BuilderUtils.newAllocateResponse(int responseId,
List<ContainerStatus> completedContainers,
List<Container> allocatedContainers,
List<NodeReport> updatedNodes,
Resource availResources,
AMCommand command,
int numClusterNodes,
PreemptionMessage preempt) |
Copyright © 2013 Apache Software Foundation. All rights reserved.