Interface RQueue<V>

    • Method Detail

      • pollLastAndOfferFirstTo

         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

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

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