@InterfaceAudience.Private public class ApplicationMasterProtocolPBClientImpl extends Object implements ApplicationMasterProtocol, Closeable
| Constructor and Description |
|---|
ApplicationMasterProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
AllocateResponse |
allocate(AllocateRequest request) |
void |
close() |
FinishApplicationMasterResponse |
finishApplicationMaster(FinishApplicationMasterRequest request) |
RegisterApplicationMasterResponse |
registerApplicationMaster(RegisterApplicationMasterRequest request) |
public ApplicationMasterProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf)
throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic AllocateResponse allocate(AllocateRequest request) throws YarnException, IOException
allocate in interface ApplicationMasterProtocolYarnExceptionIOExceptionpublic FinishApplicationMasterResponse finishApplicationMaster(FinishApplicationMasterRequest request) throws YarnException, IOException
finishApplicationMaster in interface ApplicationMasterProtocolYarnExceptionIOExceptionpublic RegisterApplicationMasterResponse registerApplicationMaster(RegisterApplicationMasterRequest request) throws YarnException, IOException
registerApplicationMaster in interface ApplicationMasterProtocolYarnExceptionIOExceptionCopyright © 2018 CERN. All Rights Reserved.