org.jclouds.hpcloud.objectstorage.extensions
Interface CDNContainerAsyncApi


public interface CDNContainerAsyncApi

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> disable(String container)
           
 com.google.common.util.concurrent.ListenableFuture<URI> enable(String container)
           
 com.google.common.util.concurrent.ListenableFuture<URI> enable(String container, long ttl)
           
 com.google.common.util.concurrent.ListenableFuture<CDNContainer> get(String container)
           
 com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<CDNContainer>> list()
           
 com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<CDNContainer>> list(ListCDNContainerOptions options)
           
 com.google.common.util.concurrent.ListenableFuture<URI> update(String container, long ttl)
           
 

Method Detail

list

@Beta
@Named(value="ListCDNEnabledContainers")
com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<CDNContainer>> list()
See Also:
HPCloudObjectStorageApi#list()

list

@Beta
@Named(value="ListCDNEnabledContainers")
com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<CDNContainer>> list(ListCDNContainerOptions options)
See Also:
HPCloudObjectStorageApi#list(ListCDNContainerOptions)

get

@Beta
@Named(value="ListCDNEnabledContainerMetadata")
com.google.common.util.concurrent.ListenableFuture<CDNContainer> get(String container)
See Also:
HPCloudObjectStorageApi#get(String)

enable

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

enable

@Beta
@Named(value="CDNEnableContainer")
com.google.common.util.concurrent.ListenableFuture<URI> enable(String container)
See Also:
HPCloudObjectStorageApi#enable(String)

update

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

disable

@Beta
@Named(value="DisableCDNEnabledContainer")
com.google.common.util.concurrent.ListenableFuture<Boolean> disable(String container)
See Also:
HPCloudObjectStorageApi#disable(String)


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