org.jclouds.s3
Interface S3AsyncClient

All Superinterfaces:
Closeable

Deprecated. please use org.jclouds.ContextBuilder#buildApi(S3Client.class) as S3AsyncClient interface will be removed in jclouds 1.7.

@Deprecated
public interface S3AsyncClient
extends Closeable

Provides asynchronous access to S3 via their REST API.

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

See Also:
AWSS3Client,

Field Summary
static String VERSION
          Deprecated.  
 
Method Summary
 com.google.common.util.concurrent.ListenableFuture<Boolean> bucketExists(String bucketName)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<ObjectMetadata> copyObject(String sourceBucket, String sourceObject, String destinationBucket, String destinationObject, CopyObjectOptions... options)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<Boolean> deleteBucketIfEmpty(String bucketName)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<Void> deleteObject(String bucketName, String key)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<Void> disableBucketLogging(String bucketName)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<Void> enableBucketLogging(String bucketName, BucketLogging logging)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<AccessControlList> getBucketACL(String bucketName)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<String> getBucketLocation(String bucketName)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<BucketLogging> getBucketLogging(String bucketName)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<Payer> getBucketPayer(String bucketName)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<S3Object> getObject(String bucketName, String key, org.jclouds.http.options.GetOptions... options)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<AccessControlList> getObjectACL(String bucketName, String key)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<ObjectMetadata> headObject(String bucketName, String key)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<ListBucketResponse> listBucket(String bucketName, ListBucketOptions... options)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<? extends Set<BucketMetadata>> listOwnedBuckets()
          Deprecated.  
 S3Object newS3Object()
          Deprecated. Creates a default implementation of S3Object
 com.google.common.util.concurrent.ListenableFuture<Boolean> objectExists(String bucketName, String key)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<Boolean> putBucketACL(String bucketName, AccessControlList acl)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<Boolean> putBucketInRegion(String region, String bucketName, PutBucketOptions... options)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<String> putObject(String bucketName, S3Object object, PutObjectOptions... options)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<Boolean> putObjectACL(String bucketName, String key, AccessControlList acl)
          Deprecated.  
 com.google.common.util.concurrent.ListenableFuture<Void> setBucketPayer(String bucketName, Payer payer)
          Deprecated.  
 
Methods inherited from interface java.io.Closeable
close
 

Field Detail

VERSION

static final String VERSION
Deprecated. 
See Also:
Constant Field Values
Method Detail

newS3Object

@Provides
S3Object newS3Object()
Deprecated. 
Creates a default implementation of S3Object


getObject

@Named(value="GetObject")
com.google.common.util.concurrent.ListenableFuture<S3Object> getObject(String bucketName,
                                                                             String key,
                                                                             org.jclouds.http.options.GetOptions... options)
Deprecated. 
See Also:
S3Client.getObject(java.lang.String, java.lang.String, org.jclouds.http.options.GetOptions...)

headObject

@Named(value="GetObject")
com.google.common.util.concurrent.ListenableFuture<ObjectMetadata> headObject(String bucketName,
                                                                                    String key)
Deprecated. 
See Also:
S3Client.headObject(java.lang.String, java.lang.String)

objectExists

@Named(value="GetObject")
com.google.common.util.concurrent.ListenableFuture<Boolean> objectExists(String bucketName,
                                                                               String key)
Deprecated. 
See Also:
S3Client.objectExists(java.lang.String, java.lang.String)

deleteObject

@Named(value="DeleteObject")
com.google.common.util.concurrent.ListenableFuture<Void> deleteObject(String bucketName,
                                                                            String key)
Deprecated. 
See Also:
S3Client.deleteObject(java.lang.String, java.lang.String)

putObject

@Named(value="PutObject")
com.google.common.util.concurrent.ListenableFuture<String> putObject(String bucketName,
                                                                           S3Object object,
                                                                           PutObjectOptions... options)
Deprecated. 
See Also:
S3Client.putObject(java.lang.String, org.jclouds.s3.domain.S3Object, org.jclouds.s3.options.PutObjectOptions...)

putBucketInRegion

@Named(value="CreateBucket")
com.google.common.util.concurrent.ListenableFuture<Boolean> putBucketInRegion(@Nullable
                                                                                    String region,
                                                                                    String bucketName,
                                                                                    PutBucketOptions... options)
Deprecated. 
See Also:
S3Client.putBucketInRegion(java.lang.String, java.lang.String, org.jclouds.s3.options.PutBucketOptions...)

deleteBucketIfEmpty

@Named(value="DeleteBucket")
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteBucketIfEmpty(String bucketName)
Deprecated. 
See Also:
S3Client.deleteBucketIfEmpty(java.lang.String)

bucketExists

@Named(value="ListBucket")
com.google.common.util.concurrent.ListenableFuture<Boolean> bucketExists(String bucketName)
Deprecated. 
See Also:
S3Client.bucketExists(java.lang.String)

getBucketLocation

@Named(value="GetBucketLocation")
com.google.common.util.concurrent.ListenableFuture<String> getBucketLocation(String bucketName)
Deprecated. 
See Also:
S3Client.getBucketLocation(java.lang.String)

getBucketPayer

@Named(value="GetBucketRequestPayment")
com.google.common.util.concurrent.ListenableFuture<Payer> getBucketPayer(String bucketName)
Deprecated. 
See Also:
S3Client.getBucketPayer(java.lang.String)

setBucketPayer

@Named(value="PutBucketRequestPayment")
com.google.common.util.concurrent.ListenableFuture<Void> setBucketPayer(String bucketName,
                                                                              Payer payer)
Deprecated. 
See Also:
S3Client.setBucketPayer(java.lang.String, org.jclouds.s3.domain.Payer)

listBucket

@Named(value="ListBucket")
com.google.common.util.concurrent.ListenableFuture<ListBucketResponse> listBucket(String bucketName,
                                                                                        ListBucketOptions... options)
Deprecated. 
See Also:
S3Client.listBucket(java.lang.String, org.jclouds.s3.options.ListBucketOptions...)

listOwnedBuckets

@Named(value="ListAllMyBuckets")
com.google.common.util.concurrent.ListenableFuture<? extends Set<BucketMetadata>> listOwnedBuckets()
Deprecated. 
See Also:
S3Client.listOwnedBuckets()

copyObject

@Named(value="PutObject")
com.google.common.util.concurrent.ListenableFuture<ObjectMetadata> copyObject(String sourceBucket,
                                                                                    String sourceObject,
                                                                                    String destinationBucket,
                                                                                    String destinationObject,
                                                                                    CopyObjectOptions... options)
Deprecated. 
See Also:
S3Client.copyObject(java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.jclouds.s3.options.CopyObjectOptions...)

getBucketACL

@Named(value="GetBucketAcl")
com.google.common.util.concurrent.ListenableFuture<AccessControlList> getBucketACL(String bucketName)
Deprecated. 
See Also:
S3Client.getBucketACL(java.lang.String)

putBucketACL

@Named(value="PutBucketAcl")
com.google.common.util.concurrent.ListenableFuture<Boolean> putBucketACL(String bucketName,
                                                                               AccessControlList acl)
Deprecated. 
See Also:
S3Client.putBucketACL(java.lang.String, org.jclouds.s3.domain.AccessControlList)

getObjectACL

@Named(value="GetObjectAcl")
com.google.common.util.concurrent.ListenableFuture<AccessControlList> getObjectACL(String bucketName,
                                                                                         String key)
Deprecated. 
See Also:
S3Client.getObjectACL(java.lang.String, java.lang.String)

putObjectACL

@Named(value="PutObjectAcl")
com.google.common.util.concurrent.ListenableFuture<Boolean> putObjectACL(String bucketName,
                                                                               String key,
                                                                               AccessControlList acl)
Deprecated. 
See Also:
S3Client.putObjectACL(java.lang.String, java.lang.String, org.jclouds.s3.domain.AccessControlList)

getBucketLogging

@Named(value="GetBucketLogging")
com.google.common.util.concurrent.ListenableFuture<BucketLogging> getBucketLogging(String bucketName)
Deprecated. 
See Also:
S3Client.getBucketLogging(java.lang.String)

enableBucketLogging

@Named(value="PutBucketLogging")
com.google.common.util.concurrent.ListenableFuture<Void> enableBucketLogging(String bucketName,
                                                                                   BucketLogging logging)
Deprecated. 
See Also:
S3Client.enableBucketLogging(java.lang.String, org.jclouds.s3.domain.BucketLogging)

disableBucketLogging

@Named(value="PutBucketLogging")
com.google.common.util.concurrent.ListenableFuture<Void> disableBucketLogging(String bucketName)
Deprecated. 
See Also:
S3Client#putBucketLogging


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