Class OneByOneRequestStrategy


  • public class OneByOneRequestStrategy
    extends java.lang.Object
    Requests one more element when remainingRequested is 0, i.e. max one element in flight.
    • Constructor Detail

      • OneByOneRequestStrategy

        public OneByOneRequestStrategy()
    • Method Detail

      • requestDemand

        public static int requestDemand​(int remainingRequested)
      • getInstance

        public static OneByOneRequestStrategy$ getInstance()
        Java API: get the singleton instance
        Returns:
        (undocumented)
      • productPrefix

        public static java.lang.String productPrefix()
      • productArity

        public static int productArity()
      • productElement

        public static java.lang.Object productElement​(int x$1)
      • productIterator

        public static scala.collection.Iterator<java.lang.Object> productIterator()
      • canEqual

        public static boolean canEqual​(java.lang.Object x$1)
      • hashCode

        public static int hashCode()
      • toString

        public static java.lang.String toString()
      • equals

        public abstract static boolean equals​(java.lang.Object that)