public final class Batch<In,Out> extends GraphStage<FlowShape<In,Out>> implements scala.Product, scala.Serializable
Constructor and Description |
---|
Batch(long max,
scala.Function1<In,java.lang.Object> costFn,
scala.Function1<In,Out> seed,
scala.Function2<Out,In,Out> aggregate) |
Modifier and Type | Method and Description |
---|---|
static Graph<S,M> |
addAttributes(Attributes attr) |
scala.Function2<Out,In,Out> |
aggregate() |
static Graph<S,M> |
async() |
abstract static boolean |
canEqual(java.lang.Object that) |
scala.Function1<In,java.lang.Object> |
costFn() |
GraphStageLogic |
createLogic(Attributes inheritedAttributes) |
static scala.Tuple2<GraphStageLogic,NotUsed> |
createLogicAndMaterializedValue(Attributes inheritedAttributes) |
abstract static boolean |
equals(java.lang.Object that) |
Inlet<In> |
in() |
protected static Attributes |
initialAttributes() |
long |
max() |
static StreamLayout.Module |
module() |
static Graph<S,M> |
named(java.lang.String name) |
Outlet<Out> |
out() |
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static 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.
|
static Graph<S,M> |
withAttributes(Attributes attr) |
createLogicAndMaterializedValue
initialAttributes, module, withAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, productArity, productElement, productIterator, productPrefix
addAttributes, async, named
public static Graph<S,M> named(java.lang.String name)
public static Graph<S,M> async()
public static Graph<S,M> addAttributes(Attributes attr)
protected static Attributes initialAttributes()
public static final StreamLayout.Module module()
public static final Graph<S,M> withAttributes(Attributes attr)
public static final scala.Tuple2<GraphStageLogic,NotUsed> createLogicAndMaterializedValue(Attributes inheritedAttributes)
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public long max()
public scala.Function1<In,java.lang.Object> costFn()
public FlowShape<In,Out> shape()
Graph
public GraphStageLogic createLogic(Attributes inheritedAttributes)
createLogic
in class GraphStage<FlowShape<In,Out>>