public void deleteJobOutput(String uuid) throws PersistentException { try { store.deleteResource(pathOfJobOutput(uuid)); if (!isTaskExecutableOutput(uuid)) executableOutputDigestMap.remove(uuid); } catch (IOException e) { logger.error("error delete job:" + uuid, e); throw new PersistentException(e); } }
public void updateJobOutput(ExecutableOutputPO output) throws PersistentException { try { writeJobOutputResource(pathOfJobOutput(output.getUuid()), output); if (!isTaskExecutableOutput(output.getUuid())) executableOutputDigestMap.put(output.getUuid(), output); } catch (IOException e) { logger.error("error update job output id:" + output.getUuid(), e); throw new PersistentException(e); } }
public void addJobOutput(ExecutableOutputPO output) throws PersistentException { try { output.setLastModified(0); writeJobOutputResource(pathOfJobOutput(output.getUuid()), output); if (!isTaskExecutableOutput(output.getUuid())) executableOutputDigestMap.put(output.getUuid(), output); } catch (IOException e) { logger.error("error update job output id:" + output.getUuid(), e); throw new PersistentException(e); } }
public void deleteJobOutput(String uuid) throws PersistentException { try { store.deleteResource(pathOfJobOutput(uuid)); if (!isTaskExecutableOutput(uuid)) executableOutputDigestMap.remove(uuid); } catch (IOException e) { logger.error("error delete job:" + uuid, e); throw new PersistentException(e); } }
public void updateJobOutput(ExecutableOutputPO output) throws PersistentException { try { writeJobOutputResource(pathOfJobOutput(output.getUuid()), output); if (!isTaskExecutableOutput(output.getUuid())) executableOutputDigestMap.put(output.getUuid(), output); } catch (IOException e) { logger.error("error update job output id:" + output.getUuid(), e); throw new PersistentException(e); } }
public void addJobOutput(ExecutableOutputPO output) throws PersistentException { try { output.setLastModified(0); writeJobOutputResource(pathOfJobOutput(output.getUuid()), output); if (!isTaskExecutableOutput(output.getUuid())) executableOutputDigestMap.put(output.getUuid(), output); } catch (IOException e) { logger.error("error update job output id:" + output.getUuid(), e); throw new PersistentException(e); } }