Package io.nflow.engine.internal.dao
Class StatisticsDao
- java.lang.Object
-
- io.nflow.engine.internal.dao.StatisticsDao
-
@Component public class StatisticsDao extends Object
Use setter injection because constructor injection may not work when nFlow is used in some legacy systems.
-
-
Constructor Summary
Constructors Constructor Description StatisticsDao(JdbcTemplate jdbcTemplate, ExecutorDao executorDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatisticsgetQueueStatistics()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)
-
-
-
Constructor Detail
-
StatisticsDao
@Inject public StatisticsDao(JdbcTemplate jdbcTemplate, ExecutorDao executorDao)
-
-
Method Detail
-
getQueueStatistics
public Statistics getQueueStatistics()
-
-