org.apache.hadoop.yarn.proto
Class ContainerManagementProtocol.ContainerManagementProtocolService

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

public abstract static class ContainerManagementProtocol.ContainerManagementProtocolService
extends Object
implements com.google.protobuf.Service

Protobuf service hadoop.yarn.ContainerManagementProtocolService


Nested Class Summary
static interface ContainerManagementProtocol.ContainerManagementProtocolService.BlockingInterface
           
static interface ContainerManagementProtocol.ContainerManagementProtocolService.Interface
           
static class ContainerManagementProtocol.ContainerManagementProtocolService.Stub
           
 
Constructor Summary
protected ContainerManagementProtocol.ContainerManagementProtocolService()
           
 
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 getContainerStatuses(com.google.protobuf.RpcController controller, YarnServiceProtos.GetContainerStatusesRequestProto request, com.google.protobuf.RpcCallback<YarnServiceProtos.GetContainerStatusesResponseProto> done)
          rpc getContainerStatuses(.hadoop.yarn.GetContainerStatusesRequestProto) returns (.hadoop.yarn.GetContainerStatusesResponseProto);
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 ContainerManagementProtocol.ContainerManagementProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
           
static com.google.protobuf.BlockingService newReflectiveBlockingService(ContainerManagementProtocol.ContainerManagementProtocolService.BlockingInterface impl)
           
static com.google.protobuf.Service newReflectiveService(ContainerManagementProtocol.ContainerManagementProtocolService.Interface impl)
           
static ContainerManagementProtocol.ContainerManagementProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)
           
abstract  void startContainers(com.google.protobuf.RpcController controller, YarnServiceProtos.StartContainersRequestProto request, com.google.protobuf.RpcCallback<YarnServiceProtos.StartContainersResponseProto> done)
          rpc startContainers(.hadoop.yarn.StartContainersRequestProto) returns (.hadoop.yarn.StartContainersResponseProto);
abstract  void stopContainers(com.google.protobuf.RpcController controller, YarnServiceProtos.StopContainersRequestProto request, com.google.protobuf.RpcCallback<YarnServiceProtos.StopContainersResponseProto> done)
          rpc stopContainers(.hadoop.yarn.StopContainersRequestProto) returns (.hadoop.yarn.StopContainersResponseProto);
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerManagementProtocol.ContainerManagementProtocolService

protected ContainerManagementProtocol.ContainerManagementProtocolService()
Method Detail

newReflectiveService

public static com.google.protobuf.Service newReflectiveService(ContainerManagementProtocol.ContainerManagementProtocolService.Interface impl)

newReflectiveBlockingService

public static com.google.protobuf.BlockingService newReflectiveBlockingService(ContainerManagementProtocol.ContainerManagementProtocolService.BlockingInterface impl)

startContainers

public abstract void startContainers(com.google.protobuf.RpcController controller,
                                     YarnServiceProtos.StartContainersRequestProto request,
                                     com.google.protobuf.RpcCallback<YarnServiceProtos.StartContainersResponseProto> done)
rpc startContainers(.hadoop.yarn.StartContainersRequestProto) returns (.hadoop.yarn.StartContainersResponseProto);


stopContainers

public abstract void stopContainers(com.google.protobuf.RpcController controller,
                                    YarnServiceProtos.StopContainersRequestProto request,
                                    com.google.protobuf.RpcCallback<YarnServiceProtos.StopContainersResponseProto> done)
rpc stopContainers(.hadoop.yarn.StopContainersRequestProto) returns (.hadoop.yarn.StopContainersResponseProto);


getContainerStatuses

public abstract void getContainerStatuses(com.google.protobuf.RpcController controller,
                                          YarnServiceProtos.GetContainerStatusesRequestProto request,
                                          com.google.protobuf.RpcCallback<YarnServiceProtos.GetContainerStatusesResponseProto> done)
rpc getContainerStatuses(.hadoop.yarn.GetContainerStatusesRequestProto) returns (.hadoop.yarn.GetContainerStatusesResponseProto);


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 ContainerManagementProtocol.ContainerManagementProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)

newBlockingStub

public static ContainerManagementProtocol.ContainerManagementProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.