org.infinispan.loaders.s3
Interface S3Connection<C,B>

All Known Implementing Classes:
JCloudsConnection

public interface S3Connection<C,B>

Represents a connection to Amazon S3.

Since:
4.0
Author:
Adrian Cole

Method Summary
 void connect(S3CacheStoreConfig config, Marshaller m)
           
 void copyBucket(String sourceBucket, String destinationBucket)
           
 void destroyBucket(String name)
           
 void disconnect()
           
 C getConnection()
           
 B verifyOrCreateBucket(String bucketName)
           
 

Method Detail

connect

void connect(S3CacheStoreConfig config,
             Marshaller m)
             throws S3ConnectionException
Throws:
S3ConnectionException

getConnection

C getConnection()
                throws S3ConnectionException
Throws:
S3ConnectionException

verifyOrCreateBucket

B verifyOrCreateBucket(String bucketName)
                       throws S3ConnectionException
Throws:
S3ConnectionException

destroyBucket

void destroyBucket(String name)
                   throws S3ConnectionException
Throws:
S3ConnectionException

copyBucket

void copyBucket(String sourceBucket,
                String destinationBucket)
                throws S3ConnectionException
Throws:
S3ConnectionException

disconnect

void disconnect()

Google Analytics

Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.