Interface LocalTmpStorageConfig


public interface LocalTmpStorageConfig
LocalTmpStorageConfig is a provider for temporary directories. A default implementation is binded in all services except Peon. For peons, a custom implementation is binded in CliPeon which uses the working directory of the peon to create a temporary storage. This interface will be guice injectable in all services. The cleaning up of the temporary files/directories created in this storage is handled by the caller.
  • Method Details

    • getTmpDir

      File getTmpDir()
      Get a temporary directory.
      Returns:
      a temporary directory