org.jclouds.hpcloud.objectstorage.lvs
Interface HPCloudObjectStorageLasVegasAsyncClient

All Superinterfaces:
CommonSwiftAsyncClient

public interface HPCloudObjectStorageLasVegasAsyncClient
extends CommonSwiftAsyncClient

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

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

Author:
Jeremy Daggett
See Also:
HPCloudObjectStorageLasVegasClient, HP Cloud Object StorageLasVegas API

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Boolean> createContainer(String container, CreateContainerOptions... options)
           
 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<ContainerMetadata> getContainerMetadata(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

getContainerMetadata

@Beta
com.google.common.util.concurrent.ListenableFuture<ContainerMetadata> getContainerMetadata(String container)
See Also:
HPCloudObjectStorageLasVegasClient.getCDNMetadata(String)

createContainer

com.google.common.util.concurrent.ListenableFuture<Boolean> createContainer(String container,
                                                                            CreateContainerOptions... options)
See Also:
HPCloudObjectStorageLasVegasClient.createContainer(java.lang.String, org.jclouds.hpcloud.objectstorage.lvs.options.CreateContainerOptions...)

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.