@Override public GetJournalStateResponseProto getJournalState(RpcController controller, GetJournalStateRequestProto request) throws ServiceException { try { return impl.getJournalState( convert(request.getJid())); } catch (IOException ioe) { throw new ServiceException(ioe); } }
@Override public GetJournalStateResponseProto getJournalState(String jid) throws IOException { try { GetJournalStateRequestProto req = GetJournalStateRequestProto.newBuilder() .setJid(convertJournalId(jid)) .build(); return rpcProxy.getJournalState(NULL_CONTROLLER, req); } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } }