• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java ReservationSubmissionResponsePBImpl类的典型用法和代码示例

java 2次浏览

本文整理汇总了Java中org.apache.hadoop.yarn.api.protocolrecords.impl.pb.ReservationSubmissionResponsePBImpl的典型用法代码示例。如果您正苦于以下问题:Java ReservationSubmissionResponsePBImpl类的具体用法?Java ReservationSubmissionResponsePBImpl怎么用?Java ReservationSubmissionResponsePBImpl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

ReservationSubmissionResponsePBImpl类属于org.apache.hadoop.yarn.api.protocolrecords.impl.pb包,在下文中一共展示了ReservationSubmissionResponsePBImpl类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: submitReservation

点赞 2

import org.apache.hadoop.yarn.api.protocolrecords.impl.pb.ReservationSubmissionResponsePBImpl; //导入依赖的package包/类
@Override
public ReservationSubmissionResponse submitReservation(ReservationSubmissionRequest request)
    throws YarnException, IOException {
  ReservationSubmissionRequestProto requestProto =
      ((ReservationSubmissionRequestPBImpl) request).getProto();
  try {
    return new ReservationSubmissionResponsePBImpl(proxy.submitReservation(null,
        requestProto));
  } catch (ServiceException e) {
    RPCUtil.unwrapAndThrowException(e);
    return null;
  }
}
 

开发者ID:naver,
项目名称:hadoop,
代码行数:14,
代码来源:ApplicationClientProtocolPBClientImpl.java

示例2: testReservationSubmissionResponsePBImpl

点赞 2

import org.apache.hadoop.yarn.api.protocolrecords.impl.pb.ReservationSubmissionResponsePBImpl; //导入依赖的package包/类
@Test
public void testReservationSubmissionResponsePBImpl() throws Exception {
  validatePBImplRecord(ReservationSubmissionResponsePBImpl.class,
      ReservationSubmissionResponseProto.class);
}
 

开发者ID:aliyun-beta,
项目名称:aliyun-oss-hadoop-fs,
代码行数:6,
代码来源:TestPBImplRecords.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)