Package org.yamcs.yarch
Interface BucketDatabase
-
- All Known Implementing Classes:
FileSystemBucketDatabase,RdbBucketDatabase
public interface BucketDatabase
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BucketcreateBucket(String bucketName)voiddeleteBucket(String bucketName)BucketgetBucket(String bucketName)Retrieve a bucket handler from the database.List<Tablespace.BucketProperties>listBuckets()
-
-
-
Method Detail
-
createBucket
Bucket createBucket(String bucketName) throws IOException
- Throws:
IOException
-
getBucket
Bucket getBucket(String bucketName) throws IOException
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
List<Tablespace.BucketProperties> listBuckets() throws IOException
- Throws:
IOException
-
deleteBucket
void deleteBucket(String bucketName) throws IOException
- Throws:
IOException
-
-