All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.instaclustr.cassandra.backup.impl.BucketService Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha8
Show newest version
package com.instaclustr.cassandra.backup.impl;

public interface BucketService extends AutoCloseable {

    boolean doesExist(String bucketName);

    default void createIfMissing(String bucketname) {
        if (!doesExist(bucketname)) {
            create(bucketname);
        }
    }

    void create(String bucketName);

    void delete(String bucketName);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy