org.infinispan.loader.s3
Interface S3Bucket<B,C extends S3Connection>
- All Known Implementing Classes:
- JCloudsBucket
public interface S3Bucket<B,C extends S3Connection>
// TODO: Adrian: Document this!
This interface defines the interactons between the S3CacheStore
and Amazon S3.
- Since:
- 4.0
- Author:
- Adrian Cole
init
void init(C connection,
B bucket)
getName
String getName()
insert
void insert(Bucket object)
throws S3ConnectionException
- Throws:
S3ConnectionException
get
Bucket get(String key)
throws S3ConnectionException
- Throws:
S3ConnectionException
keySet
Set<String> keySet()
throws S3ConnectionException
- Throws:
S3ConnectionException
values
Set<Bucket> values()
throws S3ConnectionException
- Throws:
S3ConnectionException
remove
void remove(String key)
throws S3ConnectionException
- Throws:
S3ConnectionException
clear
void clear()
throws S3ConnectionException
- Throws:
S3ConnectionException
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.