/** * Deletes the (job-unrelated) file associated with the blob key in the local storage of the * blob server. * * @param key * blob key associated with the file to be deleted * * @return <tt>true</tt> if the given blob is successfully deleted or non-existing; * <tt>false</tt> otherwise */ @Override public boolean deleteFromCache(TransientBlobKey key) { return deleteInternal(null, key); }
/** * Deletes the (job-unrelated) file associated with the blob key in the local storage of the * blob server. * * @param key * blob key associated with the file to be deleted * * @return <tt>true</tt> if the given blob is successfully deleted or non-existing; * <tt>false</tt> otherwise */ @Override public boolean deleteFromCache(TransientBlobKey key) { return deleteInternal(null, key); }
/** * Deletes the (job-unrelated) file associated with the blob key in the local storage of the * blob server. * * @param key * blob key associated with the file to be deleted * * @return <tt>true</tt> if the given blob is successfully deleted or non-existing; * <tt>false</tt> otherwise */ @Override public boolean deleteFromCache(TransientBlobKey key) { return deleteInternal(null, key); }
/** * Deletes the file associated with the blob key in the local storage of the blob server. * * @param jobId * ID of the job this blob belongs to * @param key * blob key associated with the file to be deleted * * @return <tt>true</tt> if the given blob is successfully deleted or non-existing; * <tt>false</tt> otherwise */ @Override public boolean deleteFromCache(JobID jobId, TransientBlobKey key) { checkNotNull(jobId); return deleteInternal(jobId, key); }
/** * Deletes the file associated with the blob key in the local storage of the blob server. * * @param jobId * ID of the job this blob belongs to * @param key * blob key associated with the file to be deleted * * @return <tt>true</tt> if the given blob is successfully deleted or non-existing; * <tt>false</tt> otherwise */ @Override public boolean deleteFromCache(JobID jobId, TransientBlobKey key) { checkNotNull(jobId); return deleteInternal(jobId, key); }
/** * Deletes the file associated with the blob key in the local storage of the blob server. * * @param jobId * ID of the job this blob belongs to * @param key * blob key associated with the file to be deleted * * @return <tt>true</tt> if the given blob is successfully deleted or non-existing; * <tt>false</tt> otherwise */ @Override public boolean deleteFromCache(JobID jobId, TransientBlobKey key) { checkNotNull(jobId); return deleteInternal(jobId, key); }
} else if (blobKey instanceof TransientBlobKey && result == RETURN_OKAY) { if (!blobServer.deleteInternal(jobId, (TransientBlobKey) blobKey)) { LOG.warn("DELETE operation failed for BLOB {}/{} from {}.", jobId, blobKey, clientSocket.getInetAddress());
} else if (blobKey instanceof TransientBlobKey && result == RETURN_OKAY) { if (!blobServer.deleteInternal(jobId, (TransientBlobKey) blobKey)) { LOG.warn("DELETE operation failed for BLOB {}/{} from {}.", jobId, blobKey, clientSocket.getInetAddress());
} else if (blobKey instanceof TransientBlobKey && result == RETURN_OKAY) { if (!blobServer.deleteInternal(jobId, (TransientBlobKey) blobKey)) { LOG.warn("DELETE operation failed for BLOB {}/{} from {}.", jobId, blobKey, clientSocket.getInetAddress());