Package org.apache.hadoop.ha.proto.ZKFCProtocolProtos

Examples of org.apache.hadoop.ha.proto.ZKFCProtocolProtos.CedeActiveRequestProto


  @Override
  public void cedeActive(int millisToCede) throws IOException,
      AccessControlException {
    try {
      CedeActiveRequestProto req = CedeActiveRequestProto.newBuilder()
          .setMillisToCede(millisToCede)
          .build();
      rpcProxy.cedeActive(NULL_CONTROLLER, req);     
    } catch (ServiceException e) {
      throw ProtobufHelper.getRemoteException(e);
View Full Code Here

TOP

Related Classes of org.apache.hadoop.ha.proto.ZKFCProtocolProtos.CedeActiveRequestProto

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.