org.jclouds.cloudfiles
Interface CloudFilesAsyncClient

All Superinterfaces:
CommonSwiftAsyncClient

public interface CloudFilesAsyncClient
extends CommonSwiftAsyncClient

Provides asynchronous access to Cloud Files via their REST API.

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

Author:
Adrian Cole
See Also:
CloudFilesClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Boolean> disableCDN(String container)
           
 com.google.common.util.concurrent.ListenableFuture<URI> enableCDN(String container)
           
 com.google.common.util.concurrent.ListenableFuture<URI> enableCDN(String container, long ttl)
           
 com.google.common.util.concurrent.ListenableFuture<ContainerCDNMetadata> getCDNMetadata(String container)
           
 com.google.common.util.concurrent.ListenableFuture<? extends Set<ContainerCDNMetadata>> listCDNContainers(ListCdnContainerOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<URI> updateCDN(String container, long ttl)
           
 
Methods inherited from interface org.jclouds.openstack.swift.CommonSwiftAsyncClient
containerExists, createContainer, deleteContainerIfEmpty, getAccountStatistics, getObject, getObjectInfo, listContainers, listObjects, newSwiftObject, objectExists, putObject, removeObject, setObjectInfo
 

Method Detail

listCDNContainers

com.google.common.util.concurrent.ListenableFuture<? extends Set<ContainerCDNMetadata>> listCDNContainers(ListCdnContainerOptions... options)
See Also:
CloudFilesClient.listCDNContainers(org.jclouds.cloudfiles.options.ListCdnContainerOptions...)

getCDNMetadata

com.google.common.util.concurrent.ListenableFuture<ContainerCDNMetadata> getCDNMetadata(String container)
See Also:
CloudFilesClient.getCDNMetadata(java.lang.String)

enableCDN

com.google.common.util.concurrent.ListenableFuture<URI> enableCDN(String container,
                                                                  @HeaderParam(value="X-TTL")
                                                                  long ttl)
See Also:
CloudFilesClient.enableCDN(String, long);

enableCDN

com.google.common.util.concurrent.ListenableFuture<URI> enableCDN(String container)
See Also:
CloudFilesClient.enableCDN(String)

updateCDN

com.google.common.util.concurrent.ListenableFuture<URI> updateCDN(String container,
                                                                  @HeaderParam(value="X-TTL")
                                                                  long ttl)
See Also:
CloudFilesClient.updateCDN(java.lang.String, long)

disableCDN

com.google.common.util.concurrent.ListenableFuture<Boolean> disableCDN(String container)
See Also:
CloudFilesClient.disableCDN(java.lang.String)


Copyright © 2009-2011 jclouds. All Rights Reserved.