Package akka.stream.scaladsl
Class RestartWithBackoffFlow<In,Out>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FlowShape<In,Out>>
-
- akka.stream.scaladsl.RestartWithBackoffFlow<In,Out>
-
public final class RestartWithBackoffFlow<In,Out> extends GraphStage<FlowShape<In,Out>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RestartWithBackoffFlow.Delay
Temporary attribute that can override the time aRestartWithBackoffFlow
waits for a failure before cancelling.static class
RestartWithBackoffFlow.Delay$
-
Nested classes/interfaces inherited from interface akka.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M>
-
-
Constructor Summary
Constructors Constructor Description RestartWithBackoffFlow(scala.Function0<Flow<In,Out,?>> flowFactory, RestartSettings settings, boolean onlyOnFailures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestartWithBackoffLogic<FlowShape<In,Out>>
createLogic(Attributes inheritedAttributes)
Inlet<In>
in()
Outlet<Out>
out()
FlowShape<In,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
initialAttributes, withAttributes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.stream.Graph
addAttributes, async, async, async, getAttributes, named
-
-
-
-
Constructor Detail
-
RestartWithBackoffFlow
public RestartWithBackoffFlow(scala.Function0<Flow<In,Out,?>> flowFactory, RestartSettings settings, boolean onlyOnFailures)
-
-
Method Detail
-
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 RestartWithBackoffLogic<FlowShape<In,Out>> createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<FlowShape<In,Out>>
-
-