public abstract static class ZKFCProtocolProtos.ZKFCProtocolService extends Object implements com.google.protobuf.Service
hadoop.common.ZKFCProtocolService
Protocol provides manual control of the ZK Failover Controllers
Modifier and Type | Class and Description |
---|---|
static interface |
ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface |
static interface |
ZKFCProtocolProtos.ZKFCProtocolService.Interface |
static class |
ZKFCProtocolProtos.ZKFCProtocolService.Stub |
Modifier | Constructor and Description |
---|---|
protected |
ZKFCProtocolProtos.ZKFCProtocolService() |
Modifier and Type | Method and Description |
---|---|
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 |
cedeActive(com.google.protobuf.RpcController controller,
ZKFCProtocolProtos.CedeActiveRequestProto request,
com.google.protobuf.RpcCallback<ZKFCProtocolProtos.CedeActiveResponseProto> done)
rpc cedeActive(.hadoop.common.CedeActiveRequestProto) returns (.hadoop.common.CedeActiveResponseProto); |
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 |
gracefulFailover(com.google.protobuf.RpcController controller,
ZKFCProtocolProtos.GracefulFailoverRequestProto request,
com.google.protobuf.RpcCallback<ZKFCProtocolProtos.GracefulFailoverResponseProto> done)
rpc gracefulFailover(.hadoop.common.GracefulFailoverRequestProto) returns (.hadoop.common.GracefulFailoverResponseProto); |
static ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(ZKFCProtocolProtos.ZKFCProtocolService.Interface impl) |
static ZKFCProtocolProtos.ZKFCProtocolService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
protected ZKFCProtocolProtos.ZKFCProtocolService()
public static com.google.protobuf.Service newReflectiveService(ZKFCProtocolProtos.ZKFCProtocolService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface impl)
public abstract void cedeActive(com.google.protobuf.RpcController controller, ZKFCProtocolProtos.CedeActiveRequestProto request, com.google.protobuf.RpcCallback<ZKFCProtocolProtos.CedeActiveResponseProto> done)
rpc cedeActive(.hadoop.common.CedeActiveRequestProto) returns (.hadoop.common.CedeActiveResponseProto);
Request that the service cede its active state, and quit the election for some amount of time
public abstract void gracefulFailover(com.google.protobuf.RpcController controller, ZKFCProtocolProtos.GracefulFailoverRequestProto request, com.google.protobuf.RpcCallback<ZKFCProtocolProtos.GracefulFailoverResponseProto> done)
rpc gracefulFailover(.hadoop.common.GracefulFailoverRequestProto) returns (.hadoop.common.GracefulFailoverResponseProto);
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Service
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)
callMethod
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype
in interface com.google.protobuf.Service
public static ZKFCProtocolProtos.ZKFCProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.