public abstract class BaseBlobMap<V> extends Object implements ListableMap<String,V>
BlobStore
Modifier and Type | Class and Description |
---|---|
class |
BaseBlobMap.Entry |
Modifier and Type | Field and Description |
---|---|
protected BlobStore |
blobstore |
protected String |
containerName |
protected ContainsValueInListStrategy |
containsValueStrategy |
protected GetBlobsInListStrategy |
getAllBlobs |
protected ListContainerAndRecurseThroughFolders |
listStrategy |
protected ListContainerOptions |
options |
protected com.google.common.base.Function<String,String> |
pathStripper |
protected com.google.common.base.Function<String,String> |
prefixer |
protected PutBlobsStrategy |
putBlobsStrategy |
Constructor and Description |
---|
BaseBlobMap(BlobStore blobstore,
GetBlobsInListStrategy getAllBlobs,
ContainsValueInListStrategy containsValueStrategy,
PutBlobsStrategy putBlobsStrategy,
ListContainerAndRecurseThroughFolders listStrategy,
String containerName,
ListContainerOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,V>> |
entrySet() |
protected Iterable<Blob> |
getAllBlobs() |
boolean |
isEmpty() |
Set<String> |
keySet() |
Iterable<? extends BlobMetadata> |
list() |
int |
size() |
protected Blob |
stripPrefix(Blob from) |
String |
toString() |
protected final BlobStore blobstore
protected final String containerName
protected final ListContainerOptions options
protected final GetBlobsInListStrategy getAllBlobs
protected final ContainsValueInListStrategy containsValueStrategy
protected final ListContainerAndRecurseThroughFolders listStrategy
protected final PutBlobsStrategy putBlobsStrategy
@Inject public BaseBlobMap(BlobStore blobstore, GetBlobsInListStrategy getAllBlobs, ContainsValueInListStrategy containsValueStrategy, PutBlobsStrategy putBlobsStrategy, ListContainerAndRecurseThroughFolders listStrategy, String containerName, ListContainerOptions options)
public boolean containsValue(Object value)
containsValue
in interface Map<String,V>
public boolean containsKey(Object key)
containsKey
in interface Map<String,V>
public Iterable<? extends BlobMetadata> list()
list
in interface ListableMap<String,V>
Copyright © 2009-2013 jclouds. All Rights Reserved.