org.jclouds.hpcloud.objectstorage.extensions
Interface HPCloudCDNAsyncClient


public interface HPCloudCDNAsyncClient

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().

Author:
Jeremy Daggett
See Also:
HPCloudObjectStorageClient, HP Cloud Object Storage API

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)
           
 

Method Detail

listCDNContainers

@Beta
com.google.common.util.concurrent.ListenableFuture<? extends Set<ContainerCDNMetadata>> listCDNContainers(ListCDNContainerOptions... options)
See Also:
HPCloudObjectStorageClient#listCDNContainers(ListCDNContainerOptions...)

getCDNMetadata

@Beta
com.google.common.util.concurrent.ListenableFuture<ContainerCDNMetadata> getCDNMetadata(String container)
See Also:
HPCloudObjectStorageClient#getCDNMetadata(String)

enableCDN

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

enableCDN

@Beta
com.google.common.util.concurrent.ListenableFuture<URI> enableCDN(String container)
See Also:
HPCloudObjectStorageClient#enableCDN(String)

updateCDN

@Beta
com.google.common.util.concurrent.ListenableFuture<URI> updateCDN(String container,
                                                                       @HeaderParam(value="X-Ttl")
                                                                       long ttl)
See Also:
HPCloudObjectStorageClient#updateCDN(String, long)

disableCDN

@Beta
com.google.common.util.concurrent.ListenableFuture<Boolean> disableCDN(String container)
See Also:
HPCloudObjectStorageClient#disableCDN(String)


Copyright © 2009-2012 jclouds. All Rights Reserved.