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.
      Specified by:
      isConcurrent in class Task
      Returns:
      true if the task is concurrent
    • getGenericDAO

      public GenericDAO getGenericDAO()
    • setGenericDAO

      public void setGenericDAO(GenericDAO genericDAO)
    • getConfig

      public ContextProperties getConfig()
      Overrides:
      getConfig in class Task
    • setConfig

      public void setConfig(ContextProperties config)
      Overrides:
      setConfig in class Task
    • getDocumentDAO

      public DocumentDAO getDocumentDAO()
    • setDocumentDAO

      public void setDocumentDAO(DocumentDAO documentDAO)
    • getFolderDAO

      public FolderDAO getFolderDAO()
    • setFolderDAO

      public void setFolderDAO(FolderDAO folderDAO)
    • getGroupDAO

      public GroupDAO getGroupDAO()
    • setGroupDAO

      public void setGroupDAO(GroupDAO groupDAO)
    • 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)
    • setTenantDAO

      public void setTenantDAO(TenantDAO tenantDAO)
    • setSequenceDAO

      public void setSequenceDAO(SequenceDAO sequenceDAO)