Class FetchBlobMetadata
- java.lang.Object
-
- org.jclouds.blobstore.strategy.internal.FetchBlobMetadata
-
- All Implemented Interfaces:
com.google.common.base.Function<PageSet<? extends StorageMetadata>,PageSet<? extends StorageMetadata>>
,Function<PageSet<? extends StorageMetadata>,PageSet<? extends StorageMetadata>>
@NotThreadSafe public class FetchBlobMetadata extends Object implements com.google.common.base.Function<PageSet<? extends StorageMetadata>,PageSet<? extends StorageMetadata>>
Retrieves all blobmetadata in the list as efficiently as possible
-
-
Field Summary
Fields Modifier and Type Field Description protected BlobStore
blobstore
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 PageSet<? extends StorageMetadata>
apply(PageSet<? extends StorageMetadata> in)
FetchBlobMetadata
setContainerName(String container)
-
-
-
Field Detail
-
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
-
setContainerName
public FetchBlobMetadata setContainerName(String container)
-
apply
public PageSet<? extends StorageMetadata> apply(PageSet<? extends StorageMetadata> in)
- Specified by:
apply
in interfacecom.google.common.base.Function<PageSet<? extends StorageMetadata>,PageSet<? extends StorageMetadata>>
- Specified by:
apply
in interfaceFunction<PageSet<? extends StorageMetadata>,PageSet<? extends StorageMetadata>>
-
-