Package com.day.cq.workflow.job
Interface AbsoluteTimeoutHandler
-
- All Known Implementing Classes:
AbsoluteTimeAutoAdvancer
public interface AbsoluteTimeoutHandler
TheAbsoluteTimeoutHandler
is 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.String
ABS_TIME
metadata name for the absolute timeout time
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getTimeoutDate(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
-
-