Class StatsCollector

  • All Implemented Interfaces:
    Runnable

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

      • StatsCollector

        public StatsCollector()
    • Method Detail

      • 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)
      • 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)