org.apache.hadoop.yarn.proto
Class ContainerManager.ContainerManagerService

java.lang.Object
  extended by org.apache.hadoop.yarn.proto.ContainerManager.ContainerManagerService
All Implemented Interfaces:
com.google.protobuf.Service
Direct Known Subclasses:
ContainerManager.ContainerManagerService.Stub
Enclosing class:
ContainerManager

public abstract static class ContainerManager.ContainerManagerService
extends Object
implements com.google.protobuf.Service


Nested Class Summary
static interface ContainerManager.ContainerManagerService.BlockingInterface
           
static interface ContainerManager.ContainerManagerService.Interface
           
static class ContainerManager.ContainerManagerService.Stub
           
 
Constructor Summary
protected ContainerManager.ContainerManagerService()
           
 
Method Summary
 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 getContainerStatus(com.google.protobuf.RpcController controller, YarnServiceProtos.GetContainerStatusRequestProto request, com.google.protobuf.RpcCallback<YarnServiceProtos.GetContainerStatusResponseProto> 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 ContainerManager.ContainerManagerService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
           
static com.google.protobuf.BlockingService newReflectiveBlockingService(ContainerManager.ContainerManagerService.BlockingInterface impl)
           
static com.google.protobuf.Service newReflectiveService(ContainerManager.ContainerManagerService.Interface impl)
           
static ContainerManager.ContainerManagerService.Stub newStub(com.google.protobuf.RpcChannel channel)
           
abstract  void startContainer(com.google.protobuf.RpcController controller, YarnServiceProtos.StartContainerRequestProto request, com.google.protobuf.RpcCallback<YarnServiceProtos.StartContainerResponseProto> done)
           
abstract  void stopContainer(com.google.protobuf.RpcController controller, YarnServiceProtos.StopContainerRequestProto request, com.google.protobuf.RpcCallback<YarnServiceProtos.StopContainerResponseProto> done)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerManager.ContainerManagerService

protected ContainerManager.ContainerManagerService()
Method Detail

newReflectiveService

public static com.google.protobuf.Service newReflectiveService(ContainerManager.ContainerManagerService.Interface impl)

newReflectiveBlockingService

public static com.google.protobuf.BlockingService newReflectiveBlockingService(ContainerManager.ContainerManagerService.BlockingInterface impl)

startContainer

public abstract void startContainer(com.google.protobuf.RpcController controller,
                                    YarnServiceProtos.StartContainerRequestProto request,
                                    com.google.protobuf.RpcCallback<YarnServiceProtos.StartContainerResponseProto> done)

stopContainer

public abstract void stopContainer(com.google.protobuf.RpcController controller,
                                   YarnServiceProtos.StopContainerRequestProto request,
                                   com.google.protobuf.RpcCallback<YarnServiceProtos.StopContainerResponseProto> done)

getContainerStatus

public abstract void getContainerStatus(com.google.protobuf.RpcController controller,
                                        YarnServiceProtos.GetContainerStatusRequestProto request,
                                        com.google.protobuf.RpcCallback<YarnServiceProtos.GetContainerStatusResponseProto> 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 ContainerManager.ContainerManagerService.Stub newStub(com.google.protobuf.RpcChannel channel)

newBlockingStub

public static ContainerManager.ContainerManagerService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)


Copyright © 2012 Apache Software Foundation. All Rights Reserved.