Class RemoveStaleJobsInProgressActionPerformable
java.lang.Object
com.bluebell.greenhouse.radicle.performable.impl.RemoveStaleJobsInProgressActionPerformable
- All Implemented Interfaces:
DurableActionHandler<EmptyJobPayload>
@Component("removeStaleJobsInProgressActionPerformable")
public class RemoveStaleJobsInProgressActionPerformable
extends Object
implements DurableActionHandler<EmptyJobPayload>
Action that removes
Jobs left marked as running long after lease recovery would have
closed them out.- 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
-
RemoveStaleJobsInProgressActionPerformable
public RemoveStaleJobsInProgressActionPerformable()
-
-
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
-