Class MeterLogManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.entity.MeterLogManager
- All Implemented Interfaces:
Session
- Author:
- Daniel Meyer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteByTimestampAndReporter
(Date timestamp, String reporter) void
deleteTaskMetricsById
(List<String> taskMetricIds) deleteTaskMetricsByRemovalTime
(Date currentTimestamp, Integer timeToLive, int minuteFrom, int minuteTo, int batchSize) void
deleteTaskMetricsByTimestamp
(Date timestamp) executeSelectSum
(MetricsQueryImpl query) findTaskMetricsForCleanup
(int batchSize, Integer timeToLive, int minuteFrom, int minuteTo) long
findUniqueTaskWorkerCount
(Date startTime, Date endTime) void
insert
(MeterLogEntity meterLogEntity) protected boolean
protected boolean
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
Field Details
-
SELECT_METER_INTERVAL
- See Also:
-
SELECT_METER_SUM
- See Also:
-
DELETE_ALL_METER
- See Also:
-
DELETE_ALL_METER_BY_TIMESTAMP_AND_REPORTER
- See Also:
-
SELECT_UNIQUE_TASK_WORKER
- See Also:
-
SELECT_TASK_METER_FOR_CLEANUP
- See Also:
-
DELETE_TASK_METER_BY_TIMESTAMP
- See Also:
-
DELETE_TASK_METER_BY_REMOVAL_TIME
- See Also:
-
DELETE_TASK_METER_BY_IDS
- See Also:
-
-
Constructor Details
-
MeterLogManager
public MeterLogManager()
-
-
Method Details
-
insert
-
executeSelectSum
-
executeSelectInterval
-
isEndTimeAfterLastReportInterval
-
shouldAddCurrentUnloggedCount
-
deleteAll
public void deleteAll() -
deleteByTimestampAndReporter
-
findUniqueTaskWorkerCount
-
deleteTaskMetricsByTimestamp
-
deleteTaskMetricsById
-
deleteTaskMetricsByRemovalTime
public DbOperation deleteTaskMetricsByRemovalTime(Date currentTimestamp, Integer timeToLive, int minuteFrom, int minuteTo, int batchSize) -
findTaskMetricsForCleanup
-