org.jclouds.blobstore
Interface BlobStoreContext

All Superinterfaces:
Closeable, org.jclouds.View
All Known Implementing Classes:
BlobStoreContextImpl

public interface BlobStoreContext
extends Closeable, org.jclouds.View

Represents a cloud that has key-value storage functionality. This object is scoped to a service and an identity.

Author:
Adrian Cole

Method Summary
 void close()
          closes threads and resources related to this connection.
 BlobMap createBlobMap(String container)
          Deprecated. will be removed in jclouds 1.7. Please use BlobStore
 BlobMap createBlobMap(String container, ListContainerOptions options)
          Deprecated. will be removed in jclouds 1.7. Please use BlobStore
 InputStreamMap createInputStreamMap(String container)
          Deprecated. will be removed in jclouds 1.7. Please use BlobStore
 InputStreamMap createInputStreamMap(String container, ListContainerOptions options)
          Deprecated. will be removed in jclouds 1.7. Please use BlobStore
 AsyncBlobStore getAsyncBlobStore()
          Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported. Please use getBlobStore()
 BlobStore getBlobStore()
           
 ConsistencyModel getConsistencyModel()
          Deprecated. will be removed in jclouds 1.7, as almost never correct.
 BlobRequestSigner getSigner()
          Generates signed requests for blobs.
 org.jclouds.rest.Utils getUtils()
           
 org.jclouds.rest.Utils utils()
           
 
Methods inherited from interface org.jclouds.View
getBackendType, unwrap, unwrap
 

Method Detail

getSigner

BlobRequestSigner getSigner()
Generates signed requests for blobs. useful in other tools such as backup utilities.


createInputStreamMap

@Deprecated
InputStreamMap createInputStreamMap(String container,
                                               ListContainerOptions options)
Deprecated. will be removed in jclouds 1.7. Please use BlobStore

Creates a Map view of the specified container. Use this for simplest access to blobstore, knowing that MD5s will be calculated for every object.

Parameters:
container - existing container you wish to read or modify
options - allow you to specify a directory within the container, or whether to list recursively.

createInputStreamMap

@Deprecated
InputStreamMap createInputStreamMap(String container)
Deprecated. will be removed in jclouds 1.7. Please use BlobStore

Creates a Map view of the specified container. Use this for simplest access to blobstore, knowing that MD5s will be calculated for every object. Only root-level blobs will be visible.

Parameters:
container - existing container you wish to read or modify

createBlobMap

@Deprecated
BlobMap createBlobMap(String container,
                                 ListContainerOptions options)
Deprecated. will be removed in jclouds 1.7. Please use BlobStore

Creates a Map view of the specified container. Use this when you wan to control the content type, or manually specify length or size of blobs.

Parameters:
container - existing container you wish to read or modify
options - allow you to specify a directory within the container, or whether to list recursively.

createBlobMap

@Deprecated
BlobMap createBlobMap(String container)
Deprecated. will be removed in jclouds 1.7. Please use BlobStore

Creates a Map view of the specified container. Use this when you wan to control the content type, or manually specify length or size of blobs. Only root-level blobs will be visible.

Parameters:
container - existing container you wish to read or modify

getAsyncBlobStore

@Deprecated
AsyncBlobStore getAsyncBlobStore()
Deprecated. will be removed in jclouds 1.7, as async interfaces are no longer supported. Please use getBlobStore()

Returns:
a portable asynchronous interface for the BlobStore, which returns Futures for each call.

getBlobStore

BlobStore getBlobStore()
Returns:
a portable interface for the BlobStore.

getConsistencyModel

@Deprecated
ConsistencyModel getConsistencyModel()
Deprecated. will be removed in jclouds 1.7, as almost never correct.

Returns:
best guess at the consistency model used in this BlobStore.

getUtils

org.jclouds.rest.Utils getUtils()

utils

org.jclouds.rest.Utils utils()
See Also:
getUtils()

close

void close()
closes threads and resources related to this connection.

Specified by:
close in interface Closeable


Copyright © 2009-2013 jclouds. All Rights Reserved.