Package akka.stream.impl
Class HeadOptionStage<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<SinkShape<T>,scala.concurrent.Future<scala.Option<T>>>
-
- akka.stream.impl.HeadOptionStage<T>
-
public final class HeadOptionStage<T> extends GraphStageWithMaterializedValue<SinkShape<T>,scala.concurrent.Future<scala.Option<T>>>
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description HeadOptionStage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Tuple2<GraphStageLogic,scala.concurrent.Future<scala.Option<T>>>
createLogicAndMaterializedValue(Attributes inheritedAttributes)
Inlet<T>
in()
SinkShape<T>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.java.lang.String
toString()
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Method Detail
-
createLogicAndMaterializedValue
public scala.Tuple2<GraphStageLogic,scala.concurrent.Future<scala.Option<T>>> createLogicAndMaterializedValue(Attributes inheritedAttributes)
- Specified by:
createLogicAndMaterializedValue
in classGraphStageWithMaterializedValue<SinkShape<T>,scala.concurrent.Future<scala.Option<T>>>
-
shape
public SinkShape<T> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-