public static final class HAServiceProtocolProtos.HAServiceProtocolService.Stub extends HAServiceProtocolProtos.HAServiceProtocolService implements HAServiceProtocolProtos.HAServiceProtocolService.Interface
HAServiceProtocolProtos.HAServiceProtocolService.BlockingInterface, HAServiceProtocolProtos.HAServiceProtocolService.Interface, HAServiceProtocolProtos.HAServiceProtocolService.Stub
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.RpcChannel |
getChannel() |
void |
getServiceStatus(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.GetServiceStatusRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.GetServiceStatusResponseProto> done)
rpc getServiceStatus(.hadoop.common.GetServiceStatusRequestProto) returns (.hadoop.common.GetServiceStatusResponseProto); |
void |
monitorHealth(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.MonitorHealthRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.MonitorHealthResponseProto> done)
rpc monitorHealth(.hadoop.common.MonitorHealthRequestProto) returns (.hadoop.common.MonitorHealthResponseProto); |
void |
transitionToActive(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.TransitionToActiveRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.TransitionToActiveResponseProto> done)
rpc transitionToActive(.hadoop.common.TransitionToActiveRequestProto) returns (.hadoop.common.TransitionToActiveResponseProto); |
void |
transitionToStandby(com.google.protobuf.RpcController controller,
HAServiceProtocolProtos.TransitionToStandbyRequestProto request,
com.google.protobuf.RpcCallback<HAServiceProtocolProtos.TransitionToStandbyResponseProto> done)
rpc transitionToStandby(.hadoop.common.TransitionToStandbyRequestProto) returns (.hadoop.common.TransitionToStandbyResponseProto); |
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStub
public com.google.protobuf.RpcChannel getChannel()
public void monitorHealth(com.google.protobuf.RpcController controller, HAServiceProtocolProtos.MonitorHealthRequestProto request, com.google.protobuf.RpcCallback<HAServiceProtocolProtos.MonitorHealthResponseProto> done)
HAServiceProtocolProtos.HAServiceProtocolService
rpc monitorHealth(.hadoop.common.MonitorHealthRequestProto) returns (.hadoop.common.MonitorHealthResponseProto);
Monitor the health of a service.
monitorHealth
in interface HAServiceProtocolProtos.HAServiceProtocolService.Interface
monitorHealth
in class HAServiceProtocolProtos.HAServiceProtocolService
public void transitionToActive(com.google.protobuf.RpcController controller, HAServiceProtocolProtos.TransitionToActiveRequestProto request, com.google.protobuf.RpcCallback<HAServiceProtocolProtos.TransitionToActiveResponseProto> done)
HAServiceProtocolProtos.HAServiceProtocolService
rpc transitionToActive(.hadoop.common.TransitionToActiveRequestProto) returns (.hadoop.common.TransitionToActiveResponseProto);
Request service to tranisition to active state.
transitionToActive
in interface HAServiceProtocolProtos.HAServiceProtocolService.Interface
transitionToActive
in class HAServiceProtocolProtos.HAServiceProtocolService
public void transitionToStandby(com.google.protobuf.RpcController controller, HAServiceProtocolProtos.TransitionToStandbyRequestProto request, com.google.protobuf.RpcCallback<HAServiceProtocolProtos.TransitionToStandbyResponseProto> done)
HAServiceProtocolProtos.HAServiceProtocolService
rpc transitionToStandby(.hadoop.common.TransitionToStandbyRequestProto) returns (.hadoop.common.TransitionToStandbyResponseProto);
Request service to transition to standby state.
transitionToStandby
in interface HAServiceProtocolProtos.HAServiceProtocolService.Interface
transitionToStandby
in class HAServiceProtocolProtos.HAServiceProtocolService
public void getServiceStatus(com.google.protobuf.RpcController controller, HAServiceProtocolProtos.GetServiceStatusRequestProto request, com.google.protobuf.RpcCallback<HAServiceProtocolProtos.GetServiceStatusResponseProto> done)
HAServiceProtocolProtos.HAServiceProtocolService
rpc getServiceStatus(.hadoop.common.GetServiceStatusRequestProto) returns (.hadoop.common.GetServiceStatusResponseProto);
Get the current status of the service.
getServiceStatus
in interface HAServiceProtocolProtos.HAServiceProtocolService.Interface
getServiceStatus
in class HAServiceProtocolProtos.HAServiceProtocolService
Copyright © 2017 Apache Software Foundation. All Rights Reserved.