org.jclouds.hpcloud.objectstorage
Interface HPCloudObjectStorageAsyncApi

All Superinterfaces:
Closeable, org.jclouds.openstack.swift.CommonSwiftAsyncClient

Deprecated. please use org.jclouds.ContextBuilder#buildApi(HPCloudObjectStorageApi.class) as HPCloudObjectStorageAsyncApi interface will be removed in jclouds 1.7.

@Deprecated
public interface HPCloudObjectStorageAsyncApi
extends org.jclouds.openstack.swift.CommonSwiftAsyncClient

Provides asynchronous access to HP Cloud Object Storage via the REST API.

All commands return a ListenableFuture of the result. Any exceptions incurred during processing will be backend in an ExecutionException as documented in Future.get().

See Also:
HPCloudObjectStorageApi, HP Cloud Object Storage API

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Boolean> deleteContainerIfEmpty(String container)
          Deprecated.  
 com.google.common.base.Optional<CDNContainerAsyncApi> getCDNExtension()
          Deprecated. Provides asynchronous access to CDN features.
 Set<String> getConfiguredRegions()
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<? extends Set<org.jclouds.openstack.swift.domain.ContainerMetadata>> listContainers(org.jclouds.openstack.swift.options.ListContainerOptions... options)
          Deprecated.  
 
Methods inherited from interface org.jclouds.openstack.swift.CommonSwiftAsyncClient
containerExists, copyObject, createContainer, createContainer, deleteContainerMetadata, getAccountStatistics, getContainerMetadata, getObject, getObjectInfo, listObjects, newSwiftObject, objectExists, putObject, putObjectManifest, removeObject, setContainerMetadata, setObjectInfo
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

getConfiguredRegions

@Provides
Set<String> getConfiguredRegions()
Deprecated. 
Returns:
the Region codes configured

listContainers

@Named(value="ListContainers")
com.google.common.util.concurrent.ListenableFuture<? extends Set<org.jclouds.openstack.swift.domain.ContainerMetadata>> listContainers(org.jclouds.openstack.swift.options.ListContainerOptions... options)
Deprecated. 
Specified by:
listContainers in interface org.jclouds.openstack.swift.CommonSwiftAsyncClient
See Also:
CommonSwiftClient.listContainers(org.jclouds.openstack.swift.options.ListContainerOptions...)

deleteContainerIfEmpty

@Named(value="DeleteContainer")
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteContainerIfEmpty(String container)
Deprecated. 
Specified by:
deleteContainerIfEmpty in interface org.jclouds.openstack.swift.CommonSwiftAsyncClient
See Also:
CommonSwiftClient.deleteContainerIfEmpty(java.lang.String)

getCDNExtension

com.google.common.base.Optional<CDNContainerAsyncApi> getCDNExtension()
Deprecated. 
Provides asynchronous access to CDN features.



Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.