Package akka.stream.scaladsl
Class RestartWithBackoffSource<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<SourceShape<T>>
-
- akka.stream.scaladsl.RestartWithBackoffSource<T>
-
- All Implemented Interfaces:
Graph<SourceShape<T>,NotUsed>
public final class RestartWithBackoffSource<T> extends GraphStage<SourceShape<T>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M>
-
-
Constructor Summary
Constructors Constructor Description RestartWithBackoffSource(scala.Function0<Source<T,?>> sourceFactory, RestartSettings settings, boolean onlyOnFailures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestartWithBackoffLogic<SourceShape<T>>
createLogic(Attributes inheritedAttributes)
Outlet<T>
out()
SourceShape<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
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
-
RestartWithBackoffSource
public RestartWithBackoffSource(scala.Function0<Source<T,?>> sourceFactory, RestartSettings settings, boolean onlyOnFailures)
-
-
Method Detail
-
createLogic
public RestartWithBackoffLogic<SourceShape<T>> createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<SourceShape<T>>
-
shape
public SourceShape<T> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.
-
-