Class CalculateDirectorySizeThread

  • All Implemented Interfaces:
    java.lang.Runnable

    public class CalculateDirectorySizeThread
    extends EdalThread
    Thread to calculate the size of directories within a PublicReference
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Map<java.lang.String,​java.lang.String> directoryFiles  
      static java.util.Map<java.lang.String,​java.lang.Long> directorySizes  
      static java.util.Map<java.lang.String,​java.lang.String> referenceContent  
      static long totalVolumeDataStock  
      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Method Summary

      Modifier and Type Method Description
      void done()
      Finish the CalculateDirectorySizeThread an shutdown the Scheduler.
      org.quartz.Scheduler getScheduler()
      Getter for the Scheduler
      void run()
      Start the CalculateDirectorySizeThread by starting the Scheduler and run the CalculateDirectorySizeJob.
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • directorySizes

        public static java.util.Map<java.lang.String,​java.lang.Long> directorySizes
      • directoryFiles

        public static java.util.Map<java.lang.String,​java.lang.String> directoryFiles
      • totalVolumeDataStock

        public static long totalVolumeDataStock
      • referenceContent

        public static java.util.Map<java.lang.String,​java.lang.String> referenceContent
    • Constructor Detail

      • CalculateDirectorySizeThread

        public CalculateDirectorySizeThread()
    • Method Detail

      • getScheduler

        public org.quartz.Scheduler getScheduler()
        Getter for the Scheduler
        Returns:
        the scheduler