作者:梦苓718 | 来源:互联网 | 2024-11-08 11:32
本文整理了Java中org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocol.getJournalCTime方法的一些代码示例,展示了QJou
本文整理了Java中org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocol.getJournalCTime
方法的一些代码示例,展示了QJournalProtocol.getJournalCTime
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QJournalProtocol.getJournalCTime
方法的具体详情如下:
包路径:org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocol
类名称:QJournalProtocol
方法名:getJournalCTime
QJournalProtocol.getJournalCTime介绍
暂无
代码示例
代码示例来源:origin: org.apache.hadoop/hadoop-hdfs
@Override
public Long call() throws IOException {
return getProxy().getJournalCTime(journalId, nameServiceId);
}
});
代码示例来源:origin: org.apache.hadoop/hadoop-hdfs
@Override
public GetJournalCTimeResponseProto getJournalCTime(RpcController controller,
GetJournalCTimeRequestProto request) throws ServiceException {
try {
Long resultCTime = impl.getJournalCTime(convert(request.getJid()),
request.getNameServiceId());
return GetJournalCTimeResponseProto.newBuilder()
.setResultCTime(resultCTime)
.build();
} catch (IOException e) {
throw new ServiceException(e);
}
}
}
代码示例来源:origin: io.prestosql.hadoop/hadoop-apache
@Override
public Long call() throws IOException {
return getProxy().getJournalCTime(journalId);
}
});
代码示例来源:origin: ch.cern.hadoop/hadoop-hdfs
@Override
public Long call() throws IOException {
return getProxy().getJournalCTime(journalId);
}
});
代码示例来源:origin: io.prestosql.hadoop/hadoop-apache
@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);
}
}
}
代码示例来源:origin: ch.cern.hadoop/hadoop-hdfs
@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);
}
}
}