- All Known Implementing Classes:
FileSystemBucketDatabase,RdbBucketDatabase
public interface BucketDatabase
-
Method Summary
Modifier and TypeMethodDescriptioncreateBucket(String bucketName) voiddeleteBucket(String bucketName) Retrieve a bucket handler from the database.
-
Method Details
-
createBucket
- Throws:
IOException
-
getBucket
Retrieve a bucket handler from the database.- Parameters:
bucketName-- Returns:
- the bucket with the given name or null if it does not exist
- Throws:
IOException
-
listBuckets
- Throws:
IOException
-
deleteBucket
- Throws:
IOException
-