/** * This implementation invokes {@link AtmosClient#pathExists} */ @Override public boolean directoryExists(String container, String directory) { return sync.pathExists(container + "/" + directory + "/"); }
/** * This implementation invokes {@link AtmosClient#pathExists} * * @param container * container * @param key * file name */ @Override public boolean blobExists(String container, String key) { return sync.pathExists(container + "/" + key); }
/** * This implementation invokes {@link AtmosClient#pathExists} */ @Override public boolean containerExists(String container) { return sync.pathExists(container + "/"); }
/** * This implementation invokes {@link AtmosClient#pathExists} * * @param container * container * @param key * file name */ @Override public boolean blobExists(String container, String key) { return sync.pathExists(container + "/" + key); }
/** * This implementation invokes {@link AtmosClient#pathExists} */ @Override public boolean containerExists(String container) { return sync.pathExists(container + "/"); }
/** * This implementation invokes {@link AtmosClient#pathExists} */ @Override public boolean directoryExists(String container, String directory) { return sync.pathExists(container + "/" + directory + "/"); }
/** * This implementation invokes {@link AtmosClient#pathExists} * * @param container * container * @param key * file name */ @Override public boolean blobExists(String container, String key) { return sync.pathExists(container + "/" + key); }
/** * This implementation invokes {@link AtmosClient#pathExists} */ @Override public boolean containerExists(String container) { return sync.pathExists(container + "/"); }
/** * This implementation invokes {@link AtmosClient#pathExists} */ @Override public boolean directoryExists(String container, String directory) { return sync.pathExists(container + "/" + directory + "/"); }
/** * This implementation invokes {@link AtmosClient#pathExists} */ @Override public boolean containerExists(String container) { return sync.pathExists(container + "/"); }
/** * This implementation invokes {@link AtmosClient#pathExists} * * @param container * container * @param key * file name */ @Override public boolean blobExists(String container, String key) { return sync.pathExists(container + "/" + key); }
public boolean apply(String in) { try { sync.deletePath(in); return !sync.pathExists(in); } catch (ContainerNotFoundException e) { return true; } } }, 3000).apply(path), "%s still exists after deleting!", path);
/** * This implementation invokes {@link AtmosAsyncClient#deletePath} followed by * {@link AtmosAsyncClient#pathExists} until it is true. */ protected boolean deleteAndVerifyContainerGone(final String container) { sync.deletePath(container + "/"); return !sync.pathExists(container + "/"); }
/** * This implementation invokes {@link AtmosAsyncClient#deletePath} followed by * {@link AtmosAsyncClient#pathExists} until it is true. */ protected boolean deleteAndVerifyContainerGone(final String container) { sync.deletePath(container + "/"); return !sync.pathExists(container + "/"); }
/** * This implementation invokes {@link AtmosClient#deletePath} followed by * {@link AtmosClient#pathExists} until it is true. */ protected boolean deleteAndVerifyContainerGone(final String container) { sync.deletePath(container + "/"); return !sync.pathExists(container + "/"); }
/** * This implementation invokes {@link AtmosAsyncClient#deletePath} followed by * {@link AtmosAsyncClient#pathExists} until it is true. */ protected boolean deleteAndVerifyContainerGone(final String container) { sync.deletePath(container + "/"); return !sync.pathExists(container + "/"); }
/** * This implementation invokes {@link AtmosAsyncClient#deletePath} followed by * {@link AtmosAsyncClient#pathExists} until it is true. */ protected boolean deleteAndVerifyContainerGone(final String container) { sync.deletePath(container + "/"); return !sync.pathExists(container + "/"); }
/** * This implementation invokes {@link AtmosClient#deletePath} followed by * {@link AtmosClient#pathExists} until it is true. */ protected boolean deleteAndVerifyContainerGone(final String container) { sync.deletePath(container + "/"); return !sync.pathExists(container + "/"); }
public boolean apply(String in) { try { return !getApi().pathExists(in); } catch (ContainerNotFoundException e) { return true; } } }, INCONSISTENCY_WINDOW).apply(path), "%s still exists after deleting!", path);
protected void deleteImmediateAndVerifyWithHead(final String path) throws InterruptedException, ExecutionException, TimeoutException { try { getApi().deletePath(path); } catch (KeyNotFoundException ex) { } assert !getApi().pathExists(path); System.err.printf("path %s doesn't exist%n", path); assert !getApi().pathExists(path); System.err.printf("path %s doesn't exist%n", path); }