|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface S3Bucket<B,C extends S3Connection>
This interface defines the interactons between the
S3CacheStore
and Amazon S3.
Method Summary | |
---|---|
void |
clear()
removes all Infinispan buckets from the S3 bucket |
Bucket |
get(String key)
|
String |
getName()
|
void |
init(C connection,
B bucket)
Creates a connection to S3, and associates this object with an S3Bucket. |
void |
insert(Bucket object)
Adds the Infinispan bucket into the S3 Bucket at location Bucket.getBucketName() |
Set<String> |
keySet()
|
void |
remove(String key)
Removes the Infinispan bucket from the S3 Bucket at location key |
Set<Bucket> |
values()
|
Method Detail |
---|
void init(C connection, B bucket)
connection
- - third-party connection to S3bucket
- - third-party representation of an S3 BucketString getName()
void insert(Bucket object) throws S3ConnectionException
Bucket.getBucketName()
object
- what to persist into S3
S3ConnectionException
Bucket get(String key) throws S3ConnectionException
key
- - location in the S3Bucket where we can find the infinispan Bucket
S3ConnectionException
Set<String> keySet() throws S3ConnectionException
S3ConnectionException
Set<Bucket> values() throws S3ConnectionException
S3ConnectionException
void remove(String key) throws S3ConnectionException
key
key
- what to remove from S3
S3ConnectionException
void clear() throws S3ConnectionException
S3ConnectionException
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |