org.jclouds.ContextBuilder#buildApi(CommonSwiftClient.class)
as
CommonSwiftAsyncClient
will be removed in jclouds 2.0.@Deprecated public interface CommonSwiftAsyncClient extends Closeable
CommonSwiftClient
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
containerExists(String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
copyObject(String sourceContainer,
String sourceObject,
String destinationContainer,
String destinationObject)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
createContainer(String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
createContainer(String container,
CreateContainerOptions... options)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteContainerIfEmpty(String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteContainerMetadata(String container,
Iterable<String> metadataKeys)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<AccountMetadata> |
getAccountStatistics()
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<ContainerMetadata> |
getContainerMetadata(String container)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<SwiftObject> |
getObject(String container,
String name,
GetOptions... options)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<MutableObjectInfoWithMetadata> |
getObjectInfo(String container,
String name)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<ContainerMetadata>> |
listContainers(ListContainerOptions... options)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<PageSet<ObjectInfo>> |
listObjects(String container,
ListContainerOptions... options)
Deprecated.
|
SwiftObject |
newSwiftObject()
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
objectExists(String container,
String name)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<String> |
putObject(String container,
SwiftObject object)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<String> |
putObjectManifest(String container,
String name)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
removeObject(String container,
String name)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
setContainerMetadata(String container,
Map<String,String> containerMetadata)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
setObjectInfo(String container,
String name,
Map<String,String> userMetadata)
Deprecated.
|
@Provides SwiftObject newSwiftObject()
@Named(value="GetAccountMetadata") com.google.common.util.concurrent.ListenableFuture<AccountMetadata> getAccountStatistics()
@Named(value="ListContainers") com.google.common.util.concurrent.ListenableFuture<? extends Set<ContainerMetadata>> listContainers(ListContainerOptions... options)
@Named(value="GetContainerMetadata") @Beta com.google.common.util.concurrent.ListenableFuture<ContainerMetadata> getContainerMetadata(String container)
@Named(value="UpdateContainerMetadata") com.google.common.util.concurrent.ListenableFuture<Boolean> setContainerMetadata(String container, Map<String,String> containerMetadata)
@Named(value="UpdateContainerMetadata") com.google.common.util.concurrent.ListenableFuture<Boolean> deleteContainerMetadata(String container, Iterable<String> metadataKeys)
@Named(value="CreateContainer") com.google.common.util.concurrent.ListenableFuture<Boolean> createContainer(String container, CreateContainerOptions... options)
@Named(value="UpdateObjectMetadata") com.google.common.util.concurrent.ListenableFuture<Boolean> setObjectInfo(String container, String name, Map<String,String> userMetadata)
@Named(value="CreateContainer") com.google.common.util.concurrent.ListenableFuture<Boolean> createContainer(String container)
@Named(value="DeleteContainer") com.google.common.util.concurrent.ListenableFuture<Boolean> deleteContainerIfEmpty(String container)
@Named(value="ListObjects") com.google.common.util.concurrent.ListenableFuture<PageSet<ObjectInfo>> listObjects(String container, ListContainerOptions... options)
@Named(value="GetContainerMetadata") com.google.common.util.concurrent.ListenableFuture<Boolean> containerExists(String container)
@Named(value="PutObject") com.google.common.util.concurrent.ListenableFuture<String> putObject(String container, SwiftObject object)
@Named(value="CopyObject") com.google.common.util.concurrent.ListenableFuture<Boolean> copyObject(String sourceContainer, String sourceObject, String destinationContainer, String destinationObject)
@Named(value="GetObject") com.google.common.util.concurrent.ListenableFuture<SwiftObject> getObject(String container, String name, GetOptions... options)
@Named(value="GetObjectMetadata") com.google.common.util.concurrent.ListenableFuture<MutableObjectInfoWithMetadata> getObjectInfo(String container, String name)
@Named(value="GetObjectMetadata") com.google.common.util.concurrent.ListenableFuture<Boolean> objectExists(String container, String name)
@Named(value="RemoveObject") com.google.common.util.concurrent.ListenableFuture<Void> removeObject(String container, String name)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.