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