public interface AppmasterRmOperations
AppmasterRmTemplate,
ApplicationMasterProtocol| Modifier and Type | Method and Description |
|---|---|
AllocateResponse |
allocate(AllocateRequest request)
Allocate container.
|
FinishApplicationMasterResponse |
finish(FinishApplicationMasterRequest request)
Finish the application master.
|
RegisterApplicationMasterResponse |
registerApplicationMaster(java.lang.String host,
java.lang.Integer rpcPort,
java.lang.String trackUrl)
Register application master.
|
RegisterApplicationMasterResponse registerApplicationMaster(java.lang.String host, java.lang.Integer rpcPort, java.lang.String trackUrl)
host - the hostrpcPort - the rpc porttrackUrl - the track urlRegisterApplicationMasterResponseAllocateResponse allocate(AllocateRequest request)
request - the requestFinishApplicationMasterResponse finish(FinishApplicationMasterRequest request)
request - the FinishApplicationMasterRequestFinishApplicationMasterResponse