org.apache.hadoop.yarn.proto
Class ResourceTracker.ResourceTrackerService

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

public abstract static class ResourceTracker.ResourceTrackerService
extends Object
implements com.google.protobuf.Service

Protobuf service hadoop.yarn.ResourceTrackerService


Nested Class Summary
static interface ResourceTracker.ResourceTrackerService.BlockingInterface
           
static interface ResourceTracker.ResourceTrackerService.Interface
           
static class ResourceTracker.ResourceTrackerService.Stub
           
 
Constructor Summary
protected ResourceTracker.ResourceTrackerService()
           
 
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)
           
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 ResourceTracker.ResourceTrackerService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
           
static com.google.protobuf.BlockingService newReflectiveBlockingService(ResourceTracker.ResourceTrackerService.BlockingInterface impl)
           
static com.google.protobuf.Service newReflectiveService(ResourceTracker.ResourceTrackerService.Interface impl)
           
static ResourceTracker.ResourceTrackerService.Stub newStub(com.google.protobuf.RpcChannel channel)
           
abstract  void nodeHeartbeat(com.google.protobuf.RpcController controller, YarnServerCommonServiceProtos.NodeHeartbeatRequestProto request, com.google.protobuf.RpcCallback<YarnServerCommonServiceProtos.NodeHeartbeatResponseProto> done)
          rpc nodeHeartbeat(.hadoop.yarn.NodeHeartbeatRequestProto) returns (.hadoop.yarn.NodeHeartbeatResponseProto);
abstract  void registerNodeManager(com.google.protobuf.RpcController controller, YarnServerCommonServiceProtos.RegisterNodeManagerRequestProto request, com.google.protobuf.RpcCallback<YarnServerCommonServiceProtos.RegisterNodeManagerResponseProto> done)
          rpc registerNodeManager(.hadoop.yarn.RegisterNodeManagerRequestProto) returns (.hadoop.yarn.RegisterNodeManagerResponseProto);
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceTracker.ResourceTrackerService

protected ResourceTracker.ResourceTrackerService()
Method Detail

newReflectiveService

public static com.google.protobuf.Service newReflectiveService(ResourceTracker.ResourceTrackerService.Interface impl)

newReflectiveBlockingService

public static com.google.protobuf.BlockingService newReflectiveBlockingService(ResourceTracker.ResourceTrackerService.BlockingInterface impl)

registerNodeManager

public abstract void registerNodeManager(com.google.protobuf.RpcController controller,
                                         YarnServerCommonServiceProtos.RegisterNodeManagerRequestProto request,
                                         com.google.protobuf.RpcCallback<YarnServerCommonServiceProtos.RegisterNodeManagerResponseProto> done)
rpc registerNodeManager(.hadoop.yarn.RegisterNodeManagerRequestProto) returns (.hadoop.yarn.RegisterNodeManagerResponseProto);


nodeHeartbeat

public abstract void nodeHeartbeat(com.google.protobuf.RpcController controller,
                                   YarnServerCommonServiceProtos.NodeHeartbeatRequestProto request,
                                   com.google.protobuf.RpcCallback<YarnServerCommonServiceProtos.NodeHeartbeatResponseProto> done)
rpc nodeHeartbeat(.hadoop.yarn.NodeHeartbeatRequestProto) returns (.hadoop.yarn.NodeHeartbeatResponseProto);


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

newBlockingStub

public static ResourceTracker.ResourceTrackerService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.