@Override public GetEditLogManifestResponseProto getEditLogManifest( RpcController unused, GetEditLogManifestRequestProto request) throws ServiceException { RemoteEditLogManifest manifest; try { manifest = impl.getEditLogManifest(request.getSinceTxId()); } catch (IOException e) { throw new ServiceException(e); } return GetEditLogManifestResponseProto.newBuilder() .setManifest(PBHelper.convert(manifest)).build(); }
@Override public RemoteEditLogManifest getEditLogManifest(long sinceTxId) throws IOException { GetEditLogManifestRequestProto req = GetEditLogManifestRequestProto .newBuilder().setSinceTxId(sinceTxId).build(); try { return PBHelper.convert(rpcProxy.getEditLogManifest(NULL_CONTROLLER, req) .getManifest()); } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } }