Package akka.stream.impl.fusing
Class Batch<In,Out>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FlowShape<In,Out>>
-
- akka.stream.impl.fusing.Batch<In,Out>
-
- All Implemented Interfaces:
Graph<FlowShape<In,Out>,NotUsed>
,java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public final class Batch<In,Out> extends GraphStage<FlowShape<In,Out>> implements scala.Product, scala.Serializable
INTERNAL API- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Function2<Out,In,Out>
aggregate()
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)
boolean
canEqual(java.lang.Object x$1)
<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)
<In,Out>
longcopy$default$1()
<In,Out>
scala.Function1<In,java.lang.Object>copy$default$2()
<In,Out>
scala.Function1<In,Out>copy$default$3()
<In,Out>
scala.Function2<Out,In,Out>copy$default$4()
scala.Function1<In,java.lang.Object>
costFn()
GraphStageLogic
createLogic(Attributes inheritedAttributes)
boolean
equals(java.lang.Object x$1)
int
hashCode()
Inlet<In>
in()
long
max()
Outlet<Out>
out()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
scala.Function1<In,Out>
seed()
FlowShape<In,Out>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.java.lang.String
toString()
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)
-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
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()
-
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.
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<FlowShape<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 interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-