org.apache.hadoop.yarn.proto
Class AMRMProtocol.AMRMProtocolService

java.lang.Object
  extended by 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


Nested Class Summary
static interface AMRMProtocol.AMRMProtocolService.BlockingInterface
           
static interface AMRMProtocol.AMRMProtocolService.Interface
           
static class AMRMProtocol.AMRMProtocolService.Stub
           
 
Constructor Summary
protected AMRMProtocol.AMRMProtocolService()
           
 
Method Summary
abstract  void allocate(com.google.protobuf.RpcController controller, YarnServiceProtos.AllocateRequestProto request, com.google.protobuf.RpcCallback<YarnServiceProtos.AllocateResponseProto> done)
           
 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)
           
abstract  void finishApplicationMaster(com.google.protobuf.RpcController controller, YarnServiceProtos.FinishApplicationMasterRequestProto request, com.google.protobuf.RpcCallback<YarnServiceProtos.FinishApplicationMasterResponseProto> done)
           
static com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
           
 com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
           
 com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
           
 com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
           
static AMRMProtocol.AMRMProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
           
static com.google.protobuf.BlockingService newReflectiveBlockingService(AMRMProtocol.AMRMProtocolService.BlockingInterface impl)
           
static com.google.protobuf.Service newReflectiveService(AMRMProtocol.AMRMProtocolService.Interface impl)
           
static AMRMProtocol.AMRMProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)
           
abstract  void registerApplicationMaster(com.google.protobuf.RpcController controller, YarnServiceProtos.RegisterApplicationMasterRequestProto request, com.google.protobuf.RpcCallback<YarnServiceProtos.RegisterApplicationMasterResponseProto> done)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMRMProtocol.AMRMProtocolService

protected AMRMProtocol.AMRMProtocolService()
Method Detail

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.