@Component public class StatisticsService extends Object
| Constructor and Description |
|---|
StatisticsService(StatisticsDao statisticsDao) |
| Modifier and Type | Method and Description |
|---|---|
Statistics |
getStatistics()
Return queue statistics for the executor group.
|
Map<String,Map<String,WorkflowDefinitionStatistics>> |
getWorkflowDefinitionStatistics(String type,
org.joda.time.DateTime createdAfter,
org.joda.time.DateTime createdBefore,
org.joda.time.DateTime modifiedAfter,
org.joda.time.DateTime modifiedBefore)
Return statistics for a given workflow definition type.
|
@Inject public StatisticsService(StatisticsDao statisticsDao)
public Statistics getStatistics()
public Map<String,Map<String,WorkflowDefinitionStatistics>> getWorkflowDefinitionStatistics(String type, org.joda.time.DateTime createdAfter, org.joda.time.DateTime createdBefore, org.joda.time.DateTime modifiedAfter, org.joda.time.DateTime modifiedBefore)
type - The workflow definition type.createdAfter - If given, count only workflow instances created after this time.createdBefore - If given, count only workflow instances created before this time.modifiedAfter - If given, count only workflow instances modified after this time.modifiedBefore - If given, count only workflow instances modified after this time.Copyright © 2014–2020 Nitor Creations. All rights reserved.