RunningWindowValueLogic

final class RunningWindowValueLogic[@specialized(Args) A](name: String, layer: Layer, shape: FanInShape3[E[A], I, I, E[A]])(combine: (A, A) => A)(implicit a: Allocator, tpe: DataType[A]) extends FilterWindowedInAOutA[A, FanInShape3[E[A], I, I, E[A]]]
class FilterWindowedInAOutA[A, FanInShape3[E[A], I, I, E[A]]]
trait WindowedInAOutB[A, A, A]
class Handlers[FanInShape3[E[A], I, I, E[A]]]
class NodeImpl[FanInShape3[E[A], I, I, E[A]]]
trait Node
class GraphStageLogic
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class SubSinkInlet[T]
Inherited from:
GraphStageLogic
Inherited from:
GraphStageLogic

Deprecated and Inherited classlikes

@deprecated("Should move to using Handlers", since = "2.35.1")
abstract class InHandlerImpl[A](in: In[A]) extends InHandler
Deprecated
[Since version 2.35.1]
Inherited from:
NodeImpl

Value members

Inherited methods

final protected def aTpe: DataType[A]
Inherited from:
WindowedInAOutA
final def async(body: => Unit): Unit
Inherited from:
NodeImpl
final protected def bTpe: DataType[A]
Inherited from:
WindowedInAOutA
final def cancelStage(cause: Throwable): Unit
Inherited from:
GraphStageLogic
protected def clearWindowTail(): Unit

The default implementation clears from readOff to the end of the window buffer. This method is not called if fullLastWindow returns false!

The default implementation clears from readOff to the end of the window buffer. This method is not called if fullLastWindow returns false!

Inherited from:
WindowedInAOutA
def completeAsync(): Future[Unit]
Inherited from:
NodeImpl
final def completeStage(): Unit
Inherited from:
GraphStageLogic
final def failAsync(ex: Exception): Unit
Inherited from:
NodeImpl
final def failStage(ex: Throwable): Unit
Inherited from:
GraphStageLogic
final def getAsyncCallback[T](handler: T => Unit): AsyncCallback[T]
Inherited from:
GraphStageLogic
final def grabIn[A](in: Inlet[A]): A

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isAvailable[T](out: Outlet[T]): Boolean
Inherited from:
GraphStageLogic
final def isInAvailable[A](inlet: Inlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isInClosed[A](inlet: Inlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isOutAvailable[A](outlet: Outlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isOutClosed[A](outlet: Outlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
protected def launch(): Unit
Inherited from:
NodeImpl
final def launchAsync(): Future[Unit]
Inherited from:
NodeImpl
protected def newWindowBuffer(n: Int): Array[A]
Inherited from:
WindowedInAOutA
final protected def notifyFail(ex: Throwable): Unit
Inherited from:
NodeImpl
protected def onDone(inlet: Inlet[_]): Unit
Inherited from:
WindowedInAOutB
final override def postStop(): Unit

Invoked by Akka after processing of external events stopped because the operator is about to stop or fail. Calls stopped and then removes the node from the control.

Invoked by Akka after processing of external events stopped because the operator is about to stop or fail. Calls stopped and then removes the node from the control.

Definition Classes
Inherited from:
Node
final override def preStart(): Unit

Final so we don't accidentally place code here. In order to initialize state, use NodeHasInitImpl and implement init.

Final so we don't accidentally place code here. In order to initialize state, use NodeHasInitImpl and implement init.

Definition Classes
Inherited from:
Node
@tailrec
final protected def process(): Unit
Inherited from:
WindowedInAOutB
final def pushOut[A](out: Outlet[A], elem: A): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
protected def readWinSize: Long

The default number of frames to read in per window equals the window buffer size

The default number of frames to read in per window equals the window buffer size

Inherited from:
WindowedInAOutB
final def setInHandler[A](in: Inlet[A], handler: InHandler): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def setOutHandler[A](out: Outlet[A], handler: OutHandler): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def stageActor: StageActor
Inherited from:
GraphStageLogic
override protected def stopped(): Unit
Definition Classes
Inherited from:
WindowedInAOutB
override def toString: String
Definition Classes
NodeImpl -> GraphStageLogic -> Any
Inherited from:
NodeImpl
final def tryPullIn[A](in: Inlet[A]): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
protected def writeFromWindow(n: Int): Unit

Writes out a number of frames. The default implementation copies from the window buffer.

Writes out a number of frames. The default implementation copies from the window buffer.

Inherited from:
WindowedInAOutA
protected def writeWinSize: Long

The number of frames to write out per window. This is polled once after processWindow. The default equals the window buffer size (winBufSize). If an implementation wants to truncate the last window when the input terminates, it should override fullLastWindow to return false, in which case the default implementation of writeWinSize will return ``

The number of frames to write out per window. This is polled once after processWindow. The default equals the window buffer size (winBufSize). If an implementation wants to truncate the last window when the input terminates, it should override fullLastWindow to return false, in which case the default implementation of writeWinSize will return ``

Inherited from:
WindowedInAOutB

Inherited fields

final protected val hIn: InMain[A]
Inherited from:
FilterWindowedInAOutA
final protected val hOut: OutMain[A]
Inherited from:
FilterWindowedInAOutA
final protected var readOff: Long
Inherited from:
WindowedInAOutB
final protected var readRem: Long
Inherited from:
WindowedInAOutB
final protected var winBuf: Array[A]
Inherited from:
WindowedInAOutB
final protected var writeOff: Long
Inherited from:
WindowedInAOutB
final protected var writeRem: Long
Inherited from:
WindowedInAOutB

Implicits

Inherited implicits

final implicit override val allocator: Allocator
Inherited from:
NodeImpl
final implicit override val control: Control
Inherited from:
NodeImpl