Package akka.stream.impl.fusing
Class GraphStages.TickSource<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<SourceShape<T>,Cancellable>
-
- akka.stream.impl.fusing.GraphStages.TickSource<T>
-
- All Implemented Interfaces:
Graph<SourceShape<T>,Cancellable>
- Enclosing class:
- GraphStages
public static final class GraphStages.TickSource<T> extends GraphStageWithMaterializedValue<SourceShape<T>,Cancellable>
-
-
Constructor Summary
Constructors Constructor Description TickSource(scala.concurrent.duration.FiniteDuration initialDelay, scala.concurrent.duration.FiniteDuration interval, T tick)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Tuple2<GraphStageLogic,Cancellable>createLogicAndMaterializedValue(Attributes inheritedAttributes)AttributesinitialAttributes()scala.concurrent.duration.FiniteDurationinitialDelay()scala.concurrent.duration.FiniteDurationinterval()Outlet<T>out()SourceShape<T>shape()The shape of a graph is all that is externally visible: its inlets and outlets.Ttick()java.lang.StringtoString()-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, traversalBuilder, withAttributes
-
-
-
-
Constructor Detail
-
TickSource
public TickSource(scala.concurrent.duration.FiniteDuration initialDelay, scala.concurrent.duration.FiniteDuration interval, T tick)
-
-
Method Detail
-
createLogicAndMaterializedValue
public scala.Tuple2<GraphStageLogic,Cancellable> createLogicAndMaterializedValue(Attributes inheritedAttributes)
- Specified by:
createLogicAndMaterializedValuein classGraphStageWithMaterializedValue<SourceShape<T>,Cancellable>
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributesin classGraphStageWithMaterializedValue<SourceShape<T>,Cancellable>
-
initialDelay
public scala.concurrent.duration.FiniteDuration initialDelay()
-
interval
public scala.concurrent.duration.FiniteDuration interval()
-
shape
public SourceShape<T> shape()
Description copied from interface:GraphThe shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
tick
public T tick()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-