org.apache.hadoop.ha.proto
Class HAServiceProtocolProtos.HAServiceProtocolService
java.lang.Object
org.apache.hadoop.ha.proto.HAServiceProtocolProtos.HAServiceProtocolService
- All Implemented Interfaces:
- com.google.protobuf.Service
- Direct Known Subclasses:
- HAServiceProtocolProtos.HAServiceProtocolService.Stub
- Enclosing class:
- HAServiceProtocolProtos
public abstract static class HAServiceProtocolProtos.HAServiceProtocolService
- extends Object
- implements com.google.protobuf.Service
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)
|
abstract void |
getServiceStatus(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.GetServiceStatusRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.GetServiceStatusResponseProto> done)
|
abstract void |
monitorHealth(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.MonitorHealthRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.MonitorHealthResponseProto> done)
|
static HAServiceProtocolProtos.HAServiceProtocolService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
|
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(HAServiceProtocolProtos.HAServiceProtocolService.BlockingInterface impl)
|
static com.google.protobuf.Service |
newReflectiveService(HAServiceProtocolProtos.HAServiceProtocolService.Interface impl)
|
static HAServiceProtocolProtos.HAServiceProtocolService.Stub |
newStub(com.google.protobuf.RpcChannel channel)
|
abstract void |
transitionToActive(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.TransitionToActiveRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.TransitionToActiveResponseProto> done)
|
abstract void |
transitionToStandby(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.TransitionToStandbyRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.TransitionToStandbyResponseProto> done)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HAServiceProtocolProtos.HAServiceProtocolService
protected HAServiceProtocolProtos.HAServiceProtocolService()
newReflectiveService
public static com.google.protobuf.Service newReflectiveService(HAServiceProtocolProtos.HAServiceProtocolService.Interface impl)
newReflectiveBlockingService
public static com.google.protobuf.BlockingService newReflectiveBlockingService(HAServiceProtocolProtos.HAServiceProtocolService.BlockingInterface impl)
monitorHealth
public abstract void monitorHealth(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.MonitorHealthRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.MonitorHealthResponseProto> done)
transitionToActive
public abstract void transitionToActive(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.TransitionToActiveRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.TransitionToActiveResponseProto> done)
transitionToStandby
public abstract void transitionToStandby(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.TransitionToStandbyRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.TransitionToStandbyResponseProto> done)
getServiceStatus
public abstract void getServiceStatus(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.GetServiceStatusRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.GetServiceStatusResponseProto> 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 HAServiceProtocolProtos.HAServiceProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)
newBlockingStub
public static HAServiceProtocolProtos.HAServiceProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2013 Apache Software Foundation. All Rights Reserved.