Interface RQueue<V>

    • Method Detail

      • pollLastAndOfferFirstTo

        V pollLastAndOfferFirstTo​(String queueName)
        Retrieves and removes last available tail element of this queue queue and adds it at the head of queueName.
        Parameters:
        queueName - - names of destination queue
        Returns:
        the tail of this queue, or null if the specified waiting time elapses before an element is available
      • readAll

        List<V> readAll()
        Returns all queue elements at once
        Returns:
        elements
      • poll

        List<V> poll​(int limit)
        Retrieves and removes the head elements of this queue. Elements amount limited by limit param.
        Returns:
        list of head elements