GetProto() { proto = viaProto ? proto : ((YarnServerResourceManagerServiceProtos.RefreshAdminAclsRequestProto )builder.Build()); viaProto = true; return(proto); }
/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public virtual RefreshAdminAclsResponse RefreshAdminAcls(RefreshAdminAclsRequest request) { YarnServerResourceManagerServiceProtos.RefreshAdminAclsRequestProto requestProto = ((RefreshAdminAclsRequestPBImpl)request).GetProto(); try { return(new RefreshAdminAclsResponsePBImpl(proxy.RefreshAdminAcls(null, requestProto ))); } catch (ServiceException e) { RPCUtil.UnwrapAndThrowException(e); return(null); } }
RefreshAdminAcls(RpcController controller, YarnServerResourceManagerServiceProtos.RefreshAdminAclsRequestProto proto) { RefreshAdminAclsRequestPBImpl request = new RefreshAdminAclsRequestPBImpl(proto); try { RefreshAdminAclsResponse response = real.RefreshAdminAcls(request); return(((RefreshAdminAclsResponsePBImpl)response).GetProto()); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } }
public RefreshAdminAclsRequestPBImpl(YarnServerResourceManagerServiceProtos.RefreshAdminAclsRequestProto proto) { this.proto = proto; viaProto = true; }