Class MeterLogManager

java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.entity.MeterLogManager
All Implemented Interfaces:
Session

public class MeterLogManager extends AbstractManager
Author:
Daniel Meyer
  • Field Details

  • Constructor Details

    • MeterLogManager

      public MeterLogManager()
  • Method Details

    • insert

      public void insert(MeterLogEntity meterLogEntity)
    • executeSelectSum

      public Long executeSelectSum(MetricsQueryImpl query)
    • executeSelectInterval

      public List<MetricIntervalValue> executeSelectInterval(MetricsQueryImpl query)
    • isEndTimeAfterLastReportInterval

      protected boolean isEndTimeAfterLastReportInterval(MetricsQueryImpl query)
    • shouldAddCurrentUnloggedCount

      protected boolean shouldAddCurrentUnloggedCount(MetricsQueryImpl query)
    • deleteAll

      public void deleteAll()
    • deleteByTimestampAndReporter

      public void deleteByTimestampAndReporter(Date timestamp, String reporter)
    • findUniqueTaskWorkerCount

      public long findUniqueTaskWorkerCount(Date startTime, Date endTime)
    • deleteTaskMetricsByTimestamp

      public void deleteTaskMetricsByTimestamp(Date timestamp)
    • deleteTaskMetricsById

      public void deleteTaskMetricsById(List<String> taskMetricIds)
    • deleteTaskMetricsByRemovalTime

      public DbOperation deleteTaskMetricsByRemovalTime(Date currentTimestamp, Integer timeToLive, int minuteFrom, int minuteTo, int batchSize)
    • findTaskMetricsForCleanup

      public List<String> findTaskMetricsForCleanup(int batchSize, Integer timeToLive, int minuteFrom, int minuteTo)