Package com.avoka.fc.core.service
Interface ITaskExpiryProcessService
-
- All Known Implementing Classes:
FluentTaskExpiryService
,GroovyTaskExpiryService
public interface ITaskExpiryProcessService
The Interface ITaskExpiryProcessService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
expireTask(Submission task)
Expire the specified task submission.String
expireTask(String taskKey)
Deprecated.Integer
getMaxInvocationAttempts()
Gets the max invocation attempts.void
setMaxInvocationAttempts(Integer maxInvocationAttempts)
Sets the max invocation attempts.
-
-
-
Method Detail
-
expireTask
String expireTask(Submission task)
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 String expireTask(String taskKey)
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
void setMaxInvocationAttempts(Integer maxInvocationAttempts)
Sets the max invocation attempts.- Parameters:
maxInvocationAttempts
- the new max invocation attempts
-
-