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)
Attributes
initialAttributes()
scala.concurrent.duration.FiniteDuration
initialDelay()
scala.concurrent.duration.FiniteDuration
interval()
Outlet<T>
out()
SourceShape<T>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.T
tick()
java.lang.String
toString()
-
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:
createLogicAndMaterializedValue
in classGraphStageWithMaterializedValue<SourceShape<T>,Cancellable>
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributes
in 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:Graph
The 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:
toString
in classjava.lang.Object
-
-