org.jclouds.blobstore.strategy.internal
Class GetAllBlobsInListAndRetryOnFailure

java.lang.Object
  extended by org.jclouds.blobstore.strategy.internal.GetAllBlobsInListAndRetryOnFailure
All Implemented Interfaces:
GetBlobsInListStrategy

@Singleton
public class GetAllBlobsInListAndRetryOnFailure
extends Object
implements GetBlobsInListStrategy

Retrieves all blobs in the blobstore under the current path, by the most efficient means possible.

Author:
Adrian Cole

Field Summary
protected  AsyncBlobStore ablobstore
           
protected  ListBlobsInContainer getAllBlobMetadata
           
protected  Logger logger
           
protected  Long maxTime
          maximum duration of an blob Request
protected  BackoffLimitedRetryHandler retryHandler
           
protected  ExecutorService userExecutor
           
 
Method Summary
 Iterable<Blob> execute(String container, ListContainerOptions options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

getAllBlobMetadata

protected final ListBlobsInContainer getAllBlobMetadata

retryHandler

protected final BackoffLimitedRetryHandler retryHandler

ablobstore

protected final AsyncBlobStore ablobstore

userExecutor

protected final ExecutorService userExecutor

logger

@Named(value="jclouds.blobstore")
protected Logger logger

maxTime

@Inject(optional=true)
@Named(value="jclouds.request-timeout")
protected Long maxTime
maximum duration of an blob Request

Method Detail

execute

public Iterable<Blob> execute(String container,
                              ListContainerOptions options)
Specified by:
execute in interface GetBlobsInListStrategy


Copyright © 2009-2011 jclouds. All Rights Reserved.