Class DefaultWorkItemQueue

    • Method Detail

      • push

        public void push​(List<WorkItem> workItems)
        Description copied from interface: WorkItemQueue
        Pushes group of work items to the queue.
        Specified by:
        push in interface WorkItemQueue
        Parameters:
        workItems - User defined items scheduled to be processed by Task Reactor.
      • cancelOngoingExecutions

        public void cancelOngoingExecutions​(List<String> resourceIds)
        Description copied from interface: WorkItemQueue
        Pushes cancel ongoing ingestion's items to work item queue.
        Specified by:
        cancelOngoingExecutions in interface WorkItemQueue
        Parameters:
        resourceIds - Identifiers of the work items to be cancelled.
      • delete

        public void delete​(List<String> ids)
        Description copied from interface: WorkItemQueue
        Remove items from work item queue with given ids.
        Specified by:
        delete in interface WorkItemQueue
        Parameters:
        ids - Identifiers of the object to be removed.