Class StatsCollector

java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.core.stats.StatsCollector
All Implemented Interfaces:
Runnable

public class StatsCollector extends Task
Collects statistical informations to the stats site
Since:
6.0
Author:
Marco Meschieri - LogicalDOC
  • Field Details

  • Constructor Details

    • StatsCollector

      public StatsCollector()
  • Method Details

    • getSize

      public long getSize()
      Description copied from class: Task
      The the total size of the processing(number of units of work)
      Overrides:
      getSize in class Task
      Returns:
      total number of steps
    • isIndeterminate

      public boolean isIndeterminate()
      Description copied from class: Task
      Concrete implementations must override this method declaring if the task is indeterminate. An indeterminate task is not able to compute it's time length
      Specified by:
      isIndeterminate in class Task
      Returns:
      true if the task is indeterminate
    • isConcurrent

      public boolean isConcurrent()
      Description copied from class: Task
      Concrete implementations must override this method declaring if the task supports multiple instances running concurrently. tHIbernat
      Specified by:
      isConcurrent in class Task
      Returns:
      true if the task is concurrent
    • setUserno

      public static void setUserno(String userno)
    • setSID

      public static void setSID(String sid)
    • setProduct

      public static void setProduct(String product)
    • setProductName

      public static void setProductName(String productName)