Class RemoveOldJobsActionPerformable
java.lang.Object
com.bluebell.greenhouse.radicle.performable.impl.RemoveOldJobsActionPerformable
- All Implemented Interfaces:
DurableActionHandler<EmptyJobPayload>
@Component("removeOldJobsActionPerformable")
public class RemoveOldJobsActionPerformable
extends Object
implements DurableActionHandler<EmptyJobPayload>
Removes old jobs that are longer than a certain period.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the accepted payload class.perform(EmptyJobPayload payload, ActionExecutionReporter reporter) Executes the action from durable input.
-
Constructor Details
-
RemoveOldJobsActionPerformable
public RemoveOldJobsActionPerformable()
-
-
Method Details
-
payloadType
Returns the accepted payload class.- Specified by:
payloadTypein interfaceDurableActionHandler<EmptyJobPayload>- Returns:
- payload class
-
perform
Executes the action from durable input.- Specified by:
performin interfaceDurableActionHandler<EmptyJobPayload>- Parameters:
payload- reconstructed payloadreporter- execution reporter- Returns:
- action result
-