Package com.avoka.fc.core.service
Interface ITaskExpiryProcessService
- All Known Implementing Classes:
FluentTaskExpiryService
,GroovyTaskExpiryService
public interface ITaskExpiryProcessService
The Interface ITaskExpiryProcessService.
-
Method Summary
Modifier and TypeMethodDescriptionexpireTask
(Submission task) Expire the specified task submission.expireTask
(String taskKey) Deprecated.Gets the max invocation attempts.void
setMaxInvocationAttempts
(Integer maxInvocationAttempts) Sets the max invocation attempts.
-
Method Details
-
expireTask
Expire the specified task submission.- Parameters:
task
- the task submission to expire (required)- Returns:
- a task expiry info message
- Since:
- 5.0.0
-
expireTask
Deprecated.Expire the specified task submission.- Parameters:
taskKey
- the submission's task key (required)- Returns:
- a task expiry info message
-
getMaxInvocationAttempts
Integer getMaxInvocationAttempts()Gets the max invocation attempts.- Returns:
- the max invocation attempts
-
setMaxInvocationAttempts
Sets the max invocation attempts.- Parameters:
maxInvocationAttempts
- the new max invocation attempts
-