Class TempStorage

    • Method Detail

      • get

        public static TempStorage get()
        Gets the singleton object, creating a new one if it does not exist.
        Returns:
        The singleton TempStorage object
      • isCleanupDaemonRunning

        public boolean isCleanupDaemonRunning()
        Returns true if the background cleanup thread is running.

        Note that like Thread.isAlive(), this method may not return true for a couple of seconds after the thread is initially started.

        Returns:
        True if the background thread is running
      • stop

        public void stop()
        Stops the background thread by interrupting it