public class MeterLogManager extends AbstractManager
Modifier and Type | Field and Description |
---|---|
static String |
DELETE_ALL_METER |
static String |
DELETE_ALL_METER_BY_TIMESTAMP_AND_REPORTER |
static String |
DELETE_TASK_METER_BY_IDS |
static String |
DELETE_TASK_METER_BY_REMOVAL_TIME |
static String |
DELETE_TASK_METER_BY_TIMESTAMP |
static String |
SELECT_METER_INTERVAL |
static String |
SELECT_METER_SUM |
static String |
SELECT_TASK_METER_FOR_CLEANUP |
static String |
SELECT_UNIQUE_TASK_WORKER |
Constructor and Description |
---|
MeterLogManager() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAll() |
void |
deleteByTimestampAndReporter(Date timestamp,
String reporter) |
void |
deleteTaskMetricsById(List<String> taskMetricIds) |
DbOperation |
deleteTaskMetricsByRemovalTime(Date currentTimestamp,
Integer timeToLive,
int minuteFrom,
int minuteTo,
int batchSize) |
void |
deleteTaskMetricsByTimestamp(Date timestamp) |
List<MetricIntervalValue> |
executeSelectInterval(MetricsQueryImpl query) |
Long |
executeSelectSum(MetricsQueryImpl query) |
List<String> |
findTaskMetricsForCleanup(int batchSize,
Integer timeToLive,
int minuteFrom,
int minuteTo) |
long |
findUniqueTaskWorkerCount(Date startTime,
Date endTime) |
void |
insert(MeterLogEntity meterLogEntity) |
protected boolean |
isEndTimeAfterLastReportInterval(MetricsQueryImpl query) |
protected boolean |
shouldAddCurrentUnloggedCount(MetricsQueryImpl query) |
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, 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
public static final String SELECT_METER_INTERVAL
public static final String SELECT_METER_SUM
public static final String DELETE_ALL_METER
public static final String DELETE_ALL_METER_BY_TIMESTAMP_AND_REPORTER
public static final String SELECT_UNIQUE_TASK_WORKER
public static final String SELECT_TASK_METER_FOR_CLEANUP
public static final String DELETE_TASK_METER_BY_TIMESTAMP
public static final String DELETE_TASK_METER_BY_REMOVAL_TIME
public static final String DELETE_TASK_METER_BY_IDS
public void insert(MeterLogEntity meterLogEntity)
public Long executeSelectSum(MetricsQueryImpl query)
public List<MetricIntervalValue> executeSelectInterval(MetricsQueryImpl query)
protected boolean isEndTimeAfterLastReportInterval(MetricsQueryImpl query)
protected boolean shouldAddCurrentUnloggedCount(MetricsQueryImpl query)
public void deleteAll()
public void deleteByTimestampAndReporter(Date timestamp, String reporter)
public void deleteTaskMetricsByTimestamp(Date timestamp)
public DbOperation deleteTaskMetricsByRemovalTime(Date currentTimestamp, Integer timeToLive, int minuteFrom, int minuteTo, int batchSize)
Copyright © 2022. All rights reserved.