public static interface ZKFCProtocolProtos.ZKFCProtocolService.Interface
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); |
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); |
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
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);
Copyright © 2017 Apache Software Foundation. All Rights Reserved.