Class LastModifiedDateFileTask

  • All Implemented Interfaces:
    Runnable

    public class LastModifiedDateFileTask
    extends Object
    implements Runnable
    A task in order to update asynchronously the last modified date of given file and folders.
    • Method Detail

      • addFile

        public static void addFile​(File file)
        Add a file to process.
        Parameters:
        file -
      • isRunning

        public static boolean isRunning()
        Indicates if the thread is running.
        Returns:
        true if running, false otherwise.
      • run

        public void run()
        Process all the requests. This method should be private but is already declared public in the base class Thread.
        Specified by:
        run in interface Runnable