Package akka.stream.impl.fusing
Class RecoverWith<T,M>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FlowShape<T,T>>
-
- akka.stream.impl.fusing.GraphStages.SimpleLinearGraphStage<T>
-
- akka.stream.impl.fusing.RecoverWith<T,M>
-
public final class RecoverWith<T,M> extends GraphStages.SimpleLinearGraphStage<T>
-
-
Constructor Summary
Constructors Constructor Description RecoverWith(int maximumRetries, scala.PartialFunction<java.lang.Throwable,Graph<SourceShape<T>,M>> pf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphStageLogic
createLogic(Attributes attr)
Attributes
initialAttributes()
int
maximumRetries()
scala.PartialFunction<java.lang.Throwable,Graph<SourceShape<T>,M>>
pf()
java.lang.String
toString()
-
Methods inherited from class akka.stream.impl.fusing.GraphStages.SimpleLinearGraphStage
in, out, shape
-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, traversalBuilder, withAttributes
-
-
-
-
Constructor Detail
-
RecoverWith
public RecoverWith(int maximumRetries, scala.PartialFunction<java.lang.Throwable,Graph<SourceShape<T>,M>> pf)
-
-
Method Detail
-
maximumRetries
public int maximumRetries()
-
pf
public scala.PartialFunction<java.lang.Throwable,Graph<SourceShape<T>,M>> pf()
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributes
in classGraphStageWithMaterializedValue<FlowShape<T,T>,NotUsed>
-
createLogic
public GraphStageLogic createLogic(Attributes attr)
- Specified by:
createLogic
in classGraphStage<FlowShape<T,T>>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-