Class AbstractAnalyzeJob

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Boolean>
    Direct Known Subclasses:
    AnalyzeJob, PeriodAnalyzeJob

    public abstract class AbstractAnalyzeJob
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.Boolean>
    • Field Detail

      • DEFAULT_MAX_ITERATION_PER_TRANSACTION

        protected static final int DEFAULT_MAX_ITERATION_PER_TRANSACTION
        See Also:
        Constant Field Values
      • MAX_ITERATION_PER_TRANSACTION_PROPERTY

        protected static final java.lang.String MAX_ITERATION_PER_TRANSACTION_PROPERTY
        See Also:
        Constant Field Values
      • isTraceEnabled

        protected boolean isTraceEnabled
    • Method Detail

      • call

        public java.lang.Boolean call()
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Boolean>
      • readEvents

        protected void readEvents​(AbstractEventDataProvider eventDataProvider)
                           throws java.lang.Exception
        Read EventData from a file and call every agent to process it
        Parameters:
        eventDataProvider - the AbstractEventDataProvider to read from
        Throws:
        java.lang.Exception - Exception thrown when reading the file
      • getReportMetric

        protected static AbstractReportMetric getReportMetric​(Workspace analyzedWS,
                                                              StatisticContext context,
                                                              java.util.Date startDate,
                                                              java.util.Date endDate,
                                                              java.lang.Class<? extends AbstractReportMetric> clazz)
                                                       throws java.lang.ReflectiveOperationException
        Throws:
        java.lang.ReflectiveOperationException
      • getIdlePeriod

        protected int getIdlePeriod()
      • getMaxIterationPerTransaction

        protected int getMaxIterationPerTransaction()