public interface PruneService
Modifier and Type | Method and Description |
---|---|
void |
dropPruning()
Cancels all pruning tasks.
|
void |
dropPruningFor(WorkflowExecution workflowExecution)
Drop pruning for a given workflow execution
|
Map<PruneServiceImpl.PruneTask,ScheduledFuture<?>> |
getScheduledTasks()
Get currently scheduled pruning tasks
|
PruneServiceImpl.PruneTask |
newPruningTask(WorkflowExecution workflowExecution,
Date date)
Creates a new pruning task, which is then registered in the spring task scheduler.
|
void |
pruneNonExecutionLogs()
Spring scheduled method pruning expired logs that don't belong to a workflow execution.
|
void |
schedulePruning()
Initial prune scheduling.
|
void |
schedulePruning(WorkflowExecution workflowExecution)
Schedules pruning for a single workflow execution.
|
void |
updateScheduledPruning(double updatedValue)
Changes times of the scheduled prunings.
|
void schedulePruning()
void dropPruning()
void pruneNonExecutionLogs()
void dropPruningFor(WorkflowExecution workflowExecution)
workflowExecution
- workflow executionvoid schedulePruning(WorkflowExecution workflowExecution)
workflowExecution
- workflow execution that should be prunedvoid updateScheduledPruning(double updatedValue)
updatedValue
- new pruning expiry valueMap<PruneServiceImpl.PruneTask,ScheduledFuture<?>> getScheduledTasks()
PruneServiceImpl.PruneTask newPruningTask(WorkflowExecution workflowExecution, Date date)
workflowExecution
- workflow execution that should be pruneddate
- time of pruningCopyright © 2020. All rights reserved.