@Repository public class PruneCheckingDAOImpl extends Object implements PruneCheckingDAO
Constructor and Description |
---|
PruneCheckingDAOImpl(PruneMapper pruneMapper)
Instantiates a new Prune checking dao.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getAmountOfPotentiallyDeletedLogs(double pruneAfter)
Get amount of logs that would be deleted that don't belong to a workflow execution
|
Integer |
getAmountOfPotentiallyDeletedWorkflowLogs(double pruneAfter,
List<WorkflowExecution> deletedWorkflowExecutions)
Get amount of logs that would be deleted that belong to passed workflow executions
|
List<WorkflowExecution> |
getPotentiallyDeletedWorkflows(double pruneAfter)
Get workflow executions that would be deleted if settings were changed to a given value
|
@Autowired public PruneCheckingDAOImpl(PruneMapper pruneMapper)
pruneMapper
- the prune mapperpublic List<WorkflowExecution> getPotentiallyDeletedWorkflows(double pruneAfter)
PruneCheckingDAO
getPotentiallyDeletedWorkflows
in interface PruneCheckingDAO
pruneAfter
- new settingspublic Integer getAmountOfPotentiallyDeletedLogs(double pruneAfter)
PruneCheckingDAO
getAmountOfPotentiallyDeletedLogs
in interface PruneCheckingDAO
pruneAfter
- new settingspublic Integer getAmountOfPotentiallyDeletedWorkflowLogs(double pruneAfter, List<WorkflowExecution> deletedWorkflowExecutions)
PruneCheckingDAO
getAmountOfPotentiallyDeletedWorkflowLogs
in interface PruneCheckingDAO
pruneAfter
- new settingsdeletedWorkflowExecutions
- potentially deleted workflow executionsCopyright © 2020. All rights reserved.