Java 类org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.GetJournalCTimeResponseProto 实例源码

项目:hadoop    文件:QJournalProtocolServerSideTranslatorPB.java   
@Override
public GetJournalCTimeResponseProto getJournalCTime(RpcController controller,
    GetJournalCTimeRequestProto request) throws ServiceException {
  try {
    Long resultCTime = impl.getJournalCTime(convert(request.getJid()));
    return GetJournalCTimeResponseProto.newBuilder()
        .setResultCTime(resultCTime)
        .build();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}
项目:hadoop    文件:QJournalProtocolTranslatorPB.java   
@Override
public Long getJournalCTime(String journalId) throws IOException {
  try {
    GetJournalCTimeResponseProto response = rpcProxy.getJournalCTime(
        NULL_CONTROLLER,
        GetJournalCTimeRequestProto.newBuilder()
          .setJid(convertJournalId(journalId))
          .build());
    return response.getResultCTime();
  } catch (ServiceException e) {
    throw ProtobufHelper.getRemoteException(e);
  }
}
项目:aliyun-oss-hadoop-fs    文件:QJournalProtocolServerSideTranslatorPB.java   
@Override
public GetJournalCTimeResponseProto getJournalCTime(RpcController controller,
    GetJournalCTimeRequestProto request) throws ServiceException {
  try {
    Long resultCTime = impl.getJournalCTime(convert(request.getJid()));
    return GetJournalCTimeResponseProto.newBuilder()
        .setResultCTime(resultCTime)
        .build();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}
项目:aliyun-oss-hadoop-fs    文件:QJournalProtocolTranslatorPB.java   
@Override
public Long getJournalCTime(String journalId) throws IOException {
  try {
    GetJournalCTimeResponseProto response = rpcProxy.getJournalCTime(
        NULL_CONTROLLER,
        GetJournalCTimeRequestProto.newBuilder()
          .setJid(convertJournalId(journalId))
          .build());
    return response.getResultCTime();
  } catch (ServiceException e) {
    throw ProtobufHelper.getRemoteException(e);
  }
}
项目:big-c    文件:QJournalProtocolServerSideTranslatorPB.java   
@Override
public GetJournalCTimeResponseProto getJournalCTime(RpcController controller,
    GetJournalCTimeRequestProto request) throws ServiceException {
  try {
    Long resultCTime = impl.getJournalCTime(convert(request.getJid()));
    return GetJournalCTimeResponseProto.newBuilder()
        .setResultCTime(resultCTime)
        .build();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}
项目:big-c    文件:QJournalProtocolTranslatorPB.java   
@Override
public Long getJournalCTime(String journalId) throws IOException {
  try {
    GetJournalCTimeResponseProto response = rpcProxy.getJournalCTime(
        NULL_CONTROLLER,
        GetJournalCTimeRequestProto.newBuilder()
          .setJid(convertJournalId(journalId))
          .build());
    return response.getResultCTime();
  } catch (ServiceException e) {
    throw ProtobufHelper.getRemoteException(e);
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:QJournalProtocolServerSideTranslatorPB.java   
@Override
public GetJournalCTimeResponseProto getJournalCTime(RpcController controller,
    GetJournalCTimeRequestProto request) throws ServiceException {
  try {
    Long resultCTime = impl.getJournalCTime(convert(request.getJid()));
    return GetJournalCTimeResponseProto.newBuilder()
        .setResultCTime(resultCTime)
        .build();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:QJournalProtocolTranslatorPB.java   
@Override
public Long getJournalCTime(String journalId) throws IOException {
  try {
    GetJournalCTimeResponseProto response = rpcProxy.getJournalCTime(
        NULL_CONTROLLER,
        GetJournalCTimeRequestProto.newBuilder()
          .setJid(convertJournalId(journalId))
          .build());
    return response.getResultCTime();
  } catch (ServiceException e) {
    throw ProtobufHelper.getRemoteException(e);
  }
}
项目:FlexMap    文件:QJournalProtocolServerSideTranslatorPB.java   
@Override
public GetJournalCTimeResponseProto getJournalCTime(RpcController controller,
    GetJournalCTimeRequestProto request) throws ServiceException {
  try {
    Long resultCTime = impl.getJournalCTime(convert(request.getJid()));
    return GetJournalCTimeResponseProto.newBuilder()
        .setResultCTime(resultCTime)
        .build();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}
项目:FlexMap    文件:QJournalProtocolTranslatorPB.java   
@Override
public Long getJournalCTime(String journalId) throws IOException {
  try {
    GetJournalCTimeResponseProto response = rpcProxy.getJournalCTime(
        NULL_CONTROLLER,
        GetJournalCTimeRequestProto.newBuilder()
          .setJid(convertJournalId(journalId))
          .build());
    return response.getResultCTime();
  } catch (ServiceException e) {
    throw ProtobufHelper.getRemoteException(e);
  }
}
项目:hadoop-on-lustre2    文件:QJournalProtocolServerSideTranslatorPB.java   
@Override
public GetJournalCTimeResponseProto getJournalCTime(RpcController controller,
    GetJournalCTimeRequestProto request) throws ServiceException {
  try {
    Long resultCTime = impl.getJournalCTime(convert(request.getJid()));
    return GetJournalCTimeResponseProto.newBuilder()
        .setResultCTime(resultCTime)
        .build();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}
项目:hadoop-on-lustre2    文件:QJournalProtocolTranslatorPB.java   
@Override
public Long getJournalCTime(String journalId) throws IOException {
  try {
    GetJournalCTimeResponseProto response = rpcProxy.getJournalCTime(
        NULL_CONTROLLER,
        GetJournalCTimeRequestProto.newBuilder()
          .setJid(convertJournalId(journalId))
          .build());
    return response.getResultCTime();
  } catch (ServiceException e) {
    throw ProtobufHelper.getRemoteException(e);
  }
}