Package akka.stream.impl
Class RetryFlowCoordinator<In,Out>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<BidiShape<In,In,Out,Out>>
-
- akka.stream.impl.RetryFlowCoordinator<In,Out>
-
public final class RetryFlowCoordinator<In,Out> extends GraphStage<BidiShape<In,In,Out,Out>>
INTERNAL API.externalIn | | +-> internalOut -->+ | | | flow | | | internalIn --+ +<-yes- retry? | no | externalOut
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RetryFlowCoordinator.RetryCurrentElement$
-
Nested classes/interfaces inherited from interface akka.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M>
-
-
Constructor Summary
Constructors Constructor Description RetryFlowCoordinator(scala.concurrent.duration.FiniteDuration minBackoff, scala.concurrent.duration.FiniteDuration maxBackoff, double randomFactor, int maxRetries, scala.Function2<In,Out,scala.Option<In>> decideRetry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphStageLogic
createLogic(Attributes attributes)
BidiShape<In,In,Out,Out>
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, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Method Detail
-
shape
public BidiShape<In,In,Out,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 attributes)
- Specified by:
createLogic
in classGraphStage<BidiShape<In,In,Out,Out>>
-
-