org.apache.hadoop.yarn.proto
Class AMRMProtocol.AMRMProtocolService
java.lang.Object
org.apache.hadoop.yarn.proto.AMRMProtocol.AMRMProtocolService
- All Implemented Interfaces:
- com.google.protobuf.Service
- Direct Known Subclasses:
- AMRMProtocol.AMRMProtocolService.Stub
- Enclosing class:
- AMRMProtocol
public abstract static class AMRMProtocol.AMRMProtocolService
- extends Object
- implements com.google.protobuf.Service
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AMRMProtocol.AMRMProtocolService
protected AMRMProtocol.AMRMProtocolService()
newReflectiveService
public static com.google.protobuf.Service newReflectiveService(AMRMProtocol.AMRMProtocolService.Interface impl)
newReflectiveBlockingService
public static com.google.protobuf.BlockingService newReflectiveBlockingService(AMRMProtocol.AMRMProtocolService.BlockingInterface impl)
registerApplicationMaster
public abstract void registerApplicationMaster(com.google.protobuf.RpcController controller,
YarnServiceProtos.RegisterApplicationMasterRequestProto request,
com.google.protobuf.RpcCallback<YarnServiceProtos.RegisterApplicationMasterResponseProto> done)
finishApplicationMaster
public abstract void finishApplicationMaster(com.google.protobuf.RpcController controller,
YarnServiceProtos.FinishApplicationMasterRequestProto request,
com.google.protobuf.RpcCallback<YarnServiceProtos.FinishApplicationMasterResponseProto> done)
allocate
public abstract void allocate(com.google.protobuf.RpcController controller,
YarnServiceProtos.AllocateRequestProto request,
com.google.protobuf.RpcCallback<YarnServiceProtos.AllocateResponseProto> done)
getDescriptor
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType in interface com.google.protobuf.Service
callMethod
public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
- Specified by:
callMethod in interface com.google.protobuf.Service
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getRequestPrototype in interface com.google.protobuf.Service
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getResponsePrototype in interface com.google.protobuf.Service
newStub
public static AMRMProtocol.AMRMProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)
newBlockingStub
public static AMRMProtocol.AMRMProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2012 Apache Software Foundation. All Rights Reserved.