Class JobMetricAggregationResponse

java.lang.Object
com.flowable.platform.service.reports.JobMetricAggregationResponse
All Implemented Interfaces:
FlowableMetric, JobMetric

public class JobMetricAggregationResponse extends Object implements JobMetric
  • Field Details

    • timestamp

      protected Instant timestamp
    • type

      protected String type
    • node

      protected String node
    • duration

      protected Duration duration
    • executedCount

      protected double executedCount
    • failedCount

      protected double failedCount
    • deadLetterCount

      protected double deadLetterCount
    • executedTotal

      protected double executedTotal
    • failedTotal

      protected double failedTotal
    • deadLetterTotal

      protected double deadLetterTotal
    • avgDuration

      protected Double avgDuration
    • maxDuration

      protected Double maxDuration
    • tenantId

      protected String tenantId
  • Constructor Details

    • JobMetricAggregationResponse

      public JobMetricAggregationResponse()
  • Method Details

    • getTimestamp

      public Instant getTimestamp()
      Specified by:
      getTimestamp in interface FlowableMetric
    • setTimestamp

      public void setTimestamp(Instant timestamp)
    • getType

      public String getType()
      Specified by:
      getType in interface JobMetric
    • setType

      public void setType(String type)
    • getNode

      public String getNode()
      Specified by:
      getNode in interface FlowableMetric
    • setNode

      public void setNode(String node)
    • getDuration

      public Duration getDuration()
      Specified by:
      getDuration in interface FlowableMetric
    • setDuration

      public void setDuration(Duration duration)
    • getExecutedCount

      public double getExecutedCount()
      Description copied from interface: JobMetric
      Executed jobs/second averaged over duration.
      Specified by:
      getExecutedCount in interface JobMetric
    • setExecutedCount

      public void setExecutedCount(double executedCount)
    • getFailedCount

      public double getFailedCount()
      Description copied from interface: JobMetric
      Failed jobs/second averaged over duration.
      Specified by:
      getFailedCount in interface JobMetric
    • setFailedCount

      public void setFailedCount(double failedCount)
    • getDeadLetterCount

      public double getDeadLetterCount()
      Description copied from interface: JobMetric
      Dead-letter jobs/second averaged over duration.
      Specified by:
      getDeadLetterCount in interface JobMetric
    • setDeadLetterCount

      public void setDeadLetterCount(double deadLetterCount)
    • getExecutedTotal

      public double getExecutedTotal()
      Description copied from interface: JobMetric
      Absolute number of executed jobs over the metric's duration.
      Specified by:
      getExecutedTotal in interface JobMetric
    • setExecutedTotal

      public void setExecutedTotal(double executedTotal)
    • getFailedTotal

      public double getFailedTotal()
      Description copied from interface: JobMetric
      Absolute number of failed jobs over the metric's duration.
      Specified by:
      getFailedTotal in interface JobMetric
    • setFailedTotal

      public void setFailedTotal(double failedTotal)
    • getDeadLetterTotal

      public double getDeadLetterTotal()
      Description copied from interface: JobMetric
      Absolute number of dead-letter jobs over the metric's duration.
      Specified by:
      getDeadLetterTotal in interface JobMetric
    • setDeadLetterTotal

      public void setDeadLetterTotal(double deadLetterTotal)
    • getAvgDuration

      public Double getAvgDuration()
      Specified by:
      getAvgDuration in interface JobMetric
    • setAvgDuration

      public void setAvgDuration(Double avgDuration)
    • getMaxDuration

      public Double getMaxDuration()
      Specified by:
      getMaxDuration in interface JobMetric
    • setMaxDuration

      public void setMaxDuration(Double maxDuration)
    • getTenantId

      public String getTenantId()
      Specified by:
      getTenantId in interface JobMetric
    • setTenantId

      public void setTenantId(String tenantId)