Class GetJobMetricSummaryByNodeCmd

java.lang.Object
com.flowable.platform.service.health.GetJobMetricSummaryByNodeCmd
All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<List<JobMetricSummary>>

public class GetJobMetricSummaryByNodeCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<List<JobMetricSummary>>
Returns one JobMetricSummary row per NODE_ over a time window. Unlike the bucketed aggregation query, this returns a single pre-aggregated row per node — all the summing and weighted-averaging is done in SQL.
  • Field Details

    • timestampAfter

      protected final long timestampAfter
    • timestampBefore

      protected final long timestampBefore
    • tenantId

      protected final String tenantId
  • Constructor Details

    • GetJobMetricSummaryByNodeCmd

      public GetJobMetricSummaryByNodeCmd(long timestampAfter, long timestampBefore, String tenantId)
  • Method Details

    • execute

      public List<JobMetricSummary> execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Specified by:
      execute in interface org.flowable.common.engine.impl.interceptor.Command<List<JobMetricSummary>>