Interface ExpiredWorkSelector
-
- All Known Implementing Classes:
DefaultExpiredWorkSelector
public interface ExpiredWorkSelector
Representation of the Task Reactor expired work selector.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getExpired(String viewName)
Fetches all unreachable items from the WorkItemQueue.static ExpiredWorkSelector
getInstance(Session session)
Returns a new instance of the default selector implementation.
-
-
-
Method Detail
-
getExpired
List<String> getExpired(String viewName)
Fetches all unreachable items from the WorkItemQueue.- Parameters:
viewName
- Name of the view used for selecting items.- Returns:
- List of identifiers of unreachable items.
-
getInstance
static ExpiredWorkSelector getInstance(Session session)
Returns a new instance of the default selector implementation.Default implementation of the selector uses:
- a default implementation of
DefaultExpiredWorkSelector
, created for the user defined view.
- Parameters:
session
- Snowpark session object- Returns:
- a new view instance
- a default implementation of
-
-