public class ContainerPersistence extends Object
| Constructor and Description |
|---|
ContainerPersistence(StoreConnection storeConnection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containerExists(String container)
Checks if a container with this name exists.
|
void |
creteContainer(String container)
Creates a container in the blob store.
|
void |
deleteContainer(String container)
Delete the container with the given name.
|
public ContainerPersistence(StoreConnection storeConnection)
public void creteContainer(String container) throws ContainerExistsException
container - container nameContainerExistsException - if a container with the same name already exists in the blob store.public boolean containerExists(String container)
container - container namepublic void deleteContainer(String container) throws UnknownContainerException
container - container nameUnknownContainerException - when no container with given name existsCopyright © 2018. All Rights Reserved.