Package com.day.cq.workflow.job
Interface AbsoluteTimeoutHandler
-
- All Known Implementing Classes:
AbsoluteTimeAutoAdvancer
public interface AbsoluteTimeoutHandlerTheAbsoluteTimeoutHandleris kind of a marker interface for absolute timeouts (timeout is happening at a specific date)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringABS_TIMEmetadata name for the absolute timeout time
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetTimeoutDate(WorkItem item)Returns the timeout time in ms.
-
-
-
Field Detail
-
ABS_TIME
static final java.lang.String ABS_TIME
metadata name for the absolute timeout time- See Also:
- Constant Field Values
-
-
Method Detail
-
getTimeoutDate
long getTimeoutDate(WorkItem item)
Returns the timeout time in ms.- Parameters:
item- workitem- Returns:
- timeout time/date in ms in case the time/date is set
otherwise
-1
-
-