Interface IProcessQueueManagerSPI

  • All Superinterfaces:
    IProcessQueueManager
    All Known Implementing Classes:
    QueueManager

    public interface IProcessQueueManagerSPI
    extends IProcessQueueManager
    Manager that controls the consumption part of a queue.
    Since:
    6.1.0
    Version:
    $Revision: 23745 $ $Date: 2020-04-07 20:09:15 -0300 (Tue, 07 Apr 2020) $
    • Method Detail

      • removeFromQueue

        void removeFromQueue​(IQueueTaskProcess item,
                             boolean notifyListeners)
                      throws PortalException
        Removes from queue the current item.
        Parameters:
        item - to be removed from queue.
        notifyListeners - if the threads should be waken up.
        Throws:
        PortalException
        Since:
        6.1.0
      • existsTaskWithLockNotRunning

        boolean existsTaskWithLockNotRunning​(String lockId)
        Check if exists a task with given lock identifier that is not running.
        Parameters:
        lockId - the lock identifier.
        Returns:
        true if exists a task with given lock identifier that is not running.
        Since:
        12.3.0