Interface StorageService


public interface StorageService
Allows apps to interact with selected parts of the product's home directory.
Since:
5.11
  • Method Details

    • getCacheDir

      @Nonnull Path getCacheDir()
      Returns:
      the home subdirectory where cache data should be stored
    • getConfigDir

      @Nonnull Path getConfigDir()
      Returns:
      the shared home subdirectory where configuration data should be stored
    • getDataDir

      @Nonnull Path getDataDir()
      Returns:
      the shared home subdirectory where app data should be stored
    • getHomeDir

      @Nonnull Path getHomeDir()
      Returns:
      the product's home directory, which is node local in Data Center installations
    • getSharedHomeDir

      @Nonnull Path getSharedHomeDir()
      Returns:
      the product's shared home directory, which is available to all nodes in a Data Center installation
    • getTempDir

      @Nonnull Path getTempDir()
      Returns:
      the home subdirectory where short-lived temporary data should be stored