Class GetAllBlobsInListAndRetryOnFailure
- java.lang.Object
-
- 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.
-
-
Field Summary
Fields Modifier and Type Field Description protected BlobStore
blobstore
protected ListBlobsInContainer
getAllBlobMetadata
protected Logger
logger
protected Long
maxTime
maximum duration of an blob Requestprotected BackoffLimitedRetryHandler
retryHandler
protected com.google.common.util.concurrent.ListeningExecutorService
userExecutor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<Blob>
execute(String container, ListContainerOptions options)
-
-
-
Field Detail
-
getAllBlobMetadata
protected final ListBlobsInContainer getAllBlobMetadata
-
retryHandler
protected final BackoffLimitedRetryHandler retryHandler
-
blobstore
protected final BlobStore blobstore
-
userExecutor
protected final com.google.common.util.concurrent.ListeningExecutorService userExecutor
-
logger
@Named("jclouds.blobstore") protected Logger logger
-
maxTime
@Inject(optional=true) @Named("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 interfaceGetBlobsInListStrategy
-
-