public static final class ZKFCProtocolProtos.ZKFCProtocolService.Stub extends ZKFCProtocolProtos.ZKFCProtocolService implements ZKFCProtocolProtos.ZKFCProtocolService.Interface
ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface, ZKFCProtocolProtos.ZKFCProtocolService.Interface, ZKFCProtocolProtos.ZKFCProtocolService.Stub
Modifier and Type | Method and Description |
---|---|
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); |
com.google.protobuf.RpcChannel |
getChannel() |
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); |
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStub
public com.google.protobuf.RpcChannel getChannel()
public void cedeActive(com.google.protobuf.RpcController controller, ZKFCProtocolProtos.CedeActiveRequestProto request, com.google.protobuf.RpcCallback<ZKFCProtocolProtos.CedeActiveResponseProto> done)
ZKFCProtocolProtos.ZKFCProtocolService
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
cedeActive
in interface ZKFCProtocolProtos.ZKFCProtocolService.Interface
cedeActive
in class ZKFCProtocolProtos.ZKFCProtocolService
public void gracefulFailover(com.google.protobuf.RpcController controller, ZKFCProtocolProtos.GracefulFailoverRequestProto request, com.google.protobuf.RpcCallback<ZKFCProtocolProtos.GracefulFailoverResponseProto> done)
ZKFCProtocolProtos.ZKFCProtocolService
rpc gracefulFailover(.hadoop.common.GracefulFailoverRequestProto) returns (.hadoop.common.GracefulFailoverResponseProto);
gracefulFailover
in interface ZKFCProtocolProtos.ZKFCProtocolService.Interface
gracefulFailover
in class ZKFCProtocolProtos.ZKFCProtocolService
Copyright © 2019 Apache Software Foundation. All Rights Reserved.