Interface ContainerLocationManager
public interface ContainerLocationManager
Returns physical path locations, where the containers will be created.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the path where the container should be placed from a set of locations.getDataPath(String containerName) Returns the path where the container Data file are stored.Returns an array of storage location usage report.voidshutdown()Supports clean shutdown of container.
-
Method Details
-
getContainerPath
Returns the path where the container should be placed from a set of locations.- Returns:
- A path where we should place this container and metadata.
- Throws:
IOException
-
getDataPath
Returns the path where the container Data file are stored.- Returns:
- a path where we place the LevelDB and data files of a container.
- Throws:
IOException
-
getLocationReport
Returns an array of storage location usage report.- Returns:
- storage location usage report.
- Throws:
IOException
-
shutdown
Supports clean shutdown of container.- Throws:
IOException
-