> +    public ListenableFuture<BlobMetadata> blobMetadata(String container, 
> String key) {
> +        return async.getBlobMetadata(container, key);
> +    }
> +
> +    @Override
> +    protected boolean deleteAndVerifyContainerGone(String container) {
> +        async.deleteContainer(container);
> +        try {
> +            return !containerExists(container).get();
> +        } catch (InterruptedException e) {
> +            LOGGER.warn("deleteAndVerifyContainerGone operation execution 
> fail", e);
> +            return true;
> +        } catch (ExecutionException e) {
> +            LOGGER.warn("deleteAndVerifyContainerGone operation execution 
> fail", e);
> +            return true;
> +        }

If ContainerNotFoundException then return true, otherwise propagate.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/188/files#r7139919

Reply via email to