Package io.nflow.engine.internal.dao
Class MaintenanceDao
java.lang.Object
io.nflow.engine.internal.dao.MaintenanceDao
-
Constructor Summary
ConstructorsConstructorDescriptionMaintenanceDao
(SQLVariants sqlVariants, JdbcTemplate jdbcTemplate, ExecutorDao executorDao, NamedParameterJdbcTemplate nflowNamedParameterJdbcTemplate) -
Method Summary
Modifier and TypeMethodDescriptionint
archiveWorkflows
(Collection<Long> workflowIds) void
deleteActionAndStateHistory
(long workflowInstanceId, org.joda.time.DateTime olderThan) int
deleteWorkflows
(TableType type, Collection<Long> workflowIds) getOldWorkflowIds
(TableType type, org.joda.time.DateTime before, int maxWorkflows, Set<String> workflowTypes)
-
Constructor Details
-
MaintenanceDao
@Inject public MaintenanceDao(SQLVariants sqlVariants, JdbcTemplate jdbcTemplate, ExecutorDao executorDao, NamedParameterJdbcTemplate nflowNamedParameterJdbcTemplate)
-
-
Method Details
-
getOldWorkflowIds
-
archiveWorkflows
-
deleteWorkflows
-
deleteActionAndStateHistory
@Transactional public void deleteActionAndStateHistory(long workflowInstanceId, org.joda.time.DateTime olderThan)
-