Package org.apache.pekko.stream.scaladsl
Class RestartWithBackoffFlow<In,Out>
java.lang.Object
org.apache.pekko.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
org.apache.pekko.stream.stage.GraphStage<FlowShape<In,Out>>
org.apache.pekko.stream.scaladsl.RestartWithBackoffFlow<In,Out>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTemporary attribute that can override the time aRestartWithBackoffFlowwaits for a failure before cancelling.static classNested classes/interfaces inherited from interface org.apache.pekko.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M> -
Constructor Summary
ConstructorsConstructorDescriptionRestartWithBackoffFlow(scala.Function0<Flow<In, Out, ?>> flowFactory, RestartSettings settings, boolean onlyOnFailures) -
Method Summary
Methods inherited from class org.apache.pekko.stream.stage.GraphStage
createLogicAndMaterializedValueMethods inherited from class org.apache.pekko.stream.stage.GraphStageWithMaterializedValue
initialAttributes, withAttributesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.stream.Graph
addAttributes, async, async, async, getAttributes, named
-
Constructor Details
-
RestartWithBackoffFlow
public RestartWithBackoffFlow(scala.Function0<Flow<In, Out, ?>> flowFactory, RestartSettings settings, boolean onlyOnFailures)
-
-
Method Details
-
in
-
out
-
shape
Description copied from interface:GraphThe shape of a graph is all that is externally visible: its inlets and outlets. -
createLogic
- Specified by:
createLogicin classGraphStage<FlowShape<In,Out>>
-