@Override public GetMostRecentCheckpointTxIdResponseProto getMostRecentCheckpointTxId( RpcController unused, GetMostRecentCheckpointTxIdRequestProto request) throws ServiceException { long txid; try { txid = impl.getMostRecentCheckpointTxId(); } catch (IOException e) { throw new ServiceException(e); } return GetMostRecentCheckpointTxIdResponseProto.newBuilder().setTxId(txid).build(); }
@Override public long getMostRecentCheckpointTxId() throws IOException { try { return rpcProxy.getMostRecentCheckpointTxId(NULL_CONTROLLER, GetMostRecentCheckpointTxIdRequestProto.getDefaultInstance()).getTxId(); } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } }