ResampleImpl

abstract
class ResampleImpl[S <: Shape](name: String, layer: Layer, shape: S)(implicit control: Control) extends Handlers[S]
class Handlers[S]
class NodeImpl[S]
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, E <: BufElem[A]](in: Inlet[E])
Deprecated
[Since version 2.35.1]
Inherited from
NodeImpl

Value members

Abstract methods

protected
def PAD: Int

Extra size for the internal buffers; must be greater than zero. The larger the PAD the more data can be internally buffered

Extra size for the internal buffers; must be greater than zero. The larger the PAD the more data can be internally buffered

protected
def addToValue(winOff: Int, weight: Double): Unit
protected
def allocWinBuf(len: Int): Unit
protected
protected
protected
def clearValue(): Unit
protected
def clearWinBuf(off: Int, len: Int): Unit
protected
def copyInToWinBuf(winOff: Int, len: Int): Unit
protected
def copyValueToOut(): Unit
protected
protected
protected
protected
protected
protected
protected
protected
def processChunk(): Boolean

Concrete methods

protected
def onDone(inlet: Inlet[_]): Unit
@tailrec
final
def process(): Unit
final protected
def resample(): Boolean
override protected
def stopped(): Unit
Definition Classes

Inherited methods

final
def async(body: => Unit): Unit
Inherited from
NodeImpl
final
def cancelStage(cause: Throwable): Unit
Inherited from
GraphStageLogic
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
final protected
def notifyFail(ex: Throwable): Unit
Inherited from
NodeImpl
final override
def postStop(): Unit

Calls stopped and then removes the node from the control.

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
final
def pushOut[A](out: Outlet[A], elem: A): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from
NodeImpl
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
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

Concrete fields

final protected
var gain: Double