org.infinispan.loader.s3
Interface S3Bucket<B,C extends S3Connection>


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

Method Summary
 void clear()
           
 Bucket get(String key)
           
 String getName()
           
 void init(C connection, B bucket)
           
 void insert(Bucket object)
           
 Set<String> keySet()
           
 void remove(String key)
           
 Set<Bucket> values()
           
 

Method Detail

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.