jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds] Delete objects in a container efficiently. (#214)
Date Fri, 21 Mar 2014 20:42:07 GMT
> +         String marker = listing.getNextMarker();
> +         if (marker != null) {
> +            logger.debug("%s with marker %s", message, marker);
> +            options = options.afterMarker(marker);
> +            listing = getListing(containerName, options, semaphore,
> +                  outstandingFutures, deleteFailure);
> +         } else {
> +            break;
> +         }
> +      }
> +   }
> +
> +   public void execute(final String containerName,
> +         ListContainerOptions listOptions) {
> +      final AtomicBoolean deleteFailure = new AtomicBoolean();
> +      final int numOutStandingRequests = 1024;

Can you make this a user-configurable property?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/214/files#r10853636
Mime
View raw message