Class Batch<In,​Out>

  • All Implemented Interfaces:
    Graph<FlowShape<In,​Out>,​NotUsed>,, scala.Equals, scala.Product, scala.Serializable

    public final class Batch<In,​Out>
    extends GraphStage<FlowShape<In,​Out>>
    implements scala.Product, scala.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • Batch

        public Batch​(long max,
                     scala.Function1<In,​java.lang.Object> costFn,
                     scala.Function1<In,​Out> seed,
                     scala.Function2<Out,​In,​Out> aggregate)
    • Method Detail

      • apply

        public static <In,​Out> Batch<In,​Out> apply​(long max,
                                                               scala.Function1<In,​java.lang.Object> costFn,
                                                               scala.Function1<In,​Out> seed,
                                                               scala.Function2<Out,​In,​Out> aggregate)
      • unapply

        public static <In,​Out> scala.Option<scala.Tuple4<java.lang.Object,​scala.Function1<In,​java.lang.Object>,​scala.Function1<In,​Out>,​scala.Function2<Out,​In,​Out>>> unapply​(Batch<In,​Out> x$0)
      • max

        public long max()
      • costFn

        public scala.Function1<In,​java.lang.Object> costFn()
      • seed

        public scala.Function1<In,​Out> seed()
      • aggregate

        public scala.Function2<Out,​In,​Out> aggregate()
      • shape

        public FlowShape<In,​Out> shape()
        Description copied from interface: Graph
        The shape of a graph is all that is externally visible: its inlets and outlets.
        Specified by:
        shape in interface Graph<In,​Out>
      • copy

        public <In,​Out> Batch<In,​Out> copy​(long max,
                                                       scala.Function1<In,​java.lang.Object> costFn,
                                                       scala.Function1<In,​Out> seed,
                                                       scala.Function2<Out,​In,​Out> aggregate)
      • copy$default$1

        public <In,​Out> long copy$default$1()
      • copy$default$2

        public <In,​Out> scala.Function1<In,​java.lang.Object> copy$default$2()
      • copy$default$3

        public <In,​Out> scala.Function1<In,​Out> copy$default$3()
      • copy$default$4

        public <In,​Out> scala.Function2<Out,​In,​Out> copy$default$4()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object