Interface ExpiredWorkSelector

  • All Known Implementing Classes:
    DefaultExpiredWorkSelector

    public interface ExpiredWorkSelector
    Representation of the Task Reactor expired work selector.
    • 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:

        Parameters:
        session - Snowpark session object
        Returns:
        a new view instance