/** * Deletes the container and all its blobs. Inventories will be retrieved until the container is * gone. Since inventories need 24 hours to be updated this operation may take days. * * @param container container name * @see <a href="http://aws.amazon.com/glacier/faqs/#data-inventories" /> */ @Override public void deleteContainer(String container) { // attempt to delete possibly-empty vault to avoid inventory retrieval if (!sync.deleteVault(container)) { deletePathAndEnsureGone(container); } }
@Override protected boolean deleteAndVerifyContainerGone(String container) { return sync.deleteVault(container); }