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
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()
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.