Interface ContainerLocationManager


public interface ContainerLocationManager
Returns physical path locations, where the containers will be created.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns 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.
    void
    Supports clean shutdown of container.
  • Method Details

    • getContainerPath

      Path getContainerPath() throws IOException
      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

      Path getDataPath(String containerName) throws IOException
      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

      StorageLocationReport[] getLocationReport() throws IOException
      Returns an array of storage location usage report.
      Returns:
      storage location usage report.
      Throws:
      IOException
    • shutdown

      void shutdown() throws IOException
      Supports clean shutdown of container.
      Throws:
      IOException