Class SimpleURLBuffer

  • All Implemented Interfaces:
    URLBuffer
    Direct Known Subclasses:
    PriorityURLBuffer

    public class SimpleURLBuffer
    extends AbstractURLBuffer
    Simple implementation of a URLBuffer which rotates on the queues without applying any priority.
    Since:
    1.15
    • Constructor Detail

      • SimpleURLBuffer

        public SimpleURLBuffer()
    • Method Detail

      • next

        public org.apache.storm.tuple.Values next()
        Retrieves the next available URL, guarantees that the URLs are always perfectly shuffled
        Returns:
        null if no entries are available