Package akka.stream.impl.fusing
Class GroupedWeightedWithin<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FlowShape<T,scala.collection.immutable.Seq<T>>>
-
- akka.stream.impl.fusing.GroupedWeightedWithin<T>
-
public final class GroupedWeightedWithin<T> extends GraphStage<FlowShape<T,scala.collection.immutable.Seq<T>>>
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description GroupedWeightedWithin(long maxWeight, scala.Function1<T,java.lang.Object> costFn, scala.concurrent.duration.FiniteDuration interval)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphStageLogic
createLogic(Attributes inheritedAttributes)
static java.lang.String
groupedWeightedWithinTimer()
Inlet<T>
in()
Attributes
initialAttributes()
scala.concurrent.duration.FiniteDuration
interval()
long
maxWeight()
Outlet<scala.collection.immutable.Seq<T>>
out()
FlowShape<T,scala.collection.immutable.Seq<T>>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, traversalBuilder, withAttributes
-
-
-
-
Constructor Detail
-
GroupedWeightedWithin
public GroupedWeightedWithin(long maxWeight, scala.Function1<T,java.lang.Object> costFn, scala.concurrent.duration.FiniteDuration interval)
-
-
Method Detail
-
groupedWeightedWithinTimer
public static java.lang.String groupedWeightedWithinTimer()
-
maxWeight
public long maxWeight()
-
interval
public scala.concurrent.duration.FiniteDuration interval()
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributes
in classGraphStageWithMaterializedValue<FlowShape<T,scala.collection.immutable.Seq<T>>,NotUsed>
-
shape
public FlowShape<T,scala.collection.immutable.Seq<T>> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<FlowShape<T,scala.collection.immutable.Seq<T>>>
-
-