Class

org.http4s.blaze.pipeline.stages

TimeoutStageBase

Related Doc: package stages

Permalink

abstract class TimeoutStageBase[T] extends MidStage[T, T]

Self Type
TimeoutStageBase[T]
Linear Supertypes
MidStage[T, T], Head[T], Tail[T], Stage, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeoutStageBase
  2. MidStage
  3. Head
  4. Tail
  5. Stage
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimeoutStageBase(timeout: Duration, exec: TickWheelExecutor)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def cancelTimeout(): Unit

    Permalink
    Attributes
    protected
  6. def channelRead(size: Int = 1, timeout: Duration = Duration.Inf): Future[T]

    Permalink
    Definition Classes
    Tail
  7. final def channelWrite(data: Seq[T], timeout: Duration): Future[Unit]

    Permalink
    Definition Classes
    Tail
  8. def channelWrite(data: Seq[T]): Future[Unit]

    Permalink
    Definition Classes
    Tail
  9. final def channelWrite(data: T, timeout: Duration): Future[Unit]

    Permalink
    Definition Classes
    Tail
  10. def channelWrite(data: T): Future[Unit]

    Permalink
    Definition Classes
    Tail
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def findInboundStage[C <: Stage](clazz: Class[C]): Option[C]

    Permalink
    Definition Classes
    Head
  16. final def findInboundStage(name: String): Option[Stage]

    Permalink
    Definition Classes
    Head
  17. final def findOutboundStage[C <: Stage](clazz: Class[C]): Option[C]

    Permalink
    Definition Classes
    Tail
  18. final def findOutboundStage(name: String): Option[Stage]

    Permalink
    Definition Classes
    Tail
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def inboundCommand(cmd: InboundCommand): Unit

    Permalink

    Receives inbound commands Override to capture commands.

    Receives inbound commands Override to capture commands.

    cmd

    a command originating from the channel

    Definition Classes
    HeadStage
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Stage
  24. def name: String

    Permalink
    Definition Classes
    TimeoutStageBaseStage
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def outboundCommand(cmd: OutboundCommand): Unit

    Permalink

    Receives outbound commands Override to capture commands.

    Receives outbound commands Override to capture commands.

    Definition Classes
    MidStageHead
  29. def readRequest(size: Int): Future[T]

    Permalink
    Definition Classes
    TimeoutStageBaseHead
  30. final def removeStage(implicit ev: =:=[MidStage[T, T], MidStage[T, T]]): Unit

    Permalink
    Definition Classes
    MidStage
  31. final def replaceInline(stage: MidStage[T, T]): TimeoutStageBase.this.type

    Permalink
    Definition Classes
    MidStage
  32. final def replaceInline(leafBuilder: LeafBuilder[T], startup: Boolean = true): TimeoutStageBase.this.type

    Permalink
    Definition Classes
    Tail
  33. final def replaceNext(stage: LeafBuilder[T]): Tail[T]

    Permalink
    Definition Classes
    MidStage
  34. final def resetTimeout(): Unit

    Permalink
    Attributes
    protected
  35. final def sendInboundCommand(cmd: InboundCommand): Unit

    Permalink
    Definition Classes
    Head
  36. final def sendOutboundCommand(cmd: OutboundCommand): Unit

    Permalink
    Definition Classes
    Tail
  37. final def setAndCancel(next: Cancellable): Unit

    Permalink
    Annotations
    @tailrec()
  38. final def spliceAfter(stage: MidStage[T, T]): Unit

    Permalink
    Definition Classes
    Head
  39. final def spliceBefore(stage: MidStage[T, T]): Unit

    Permalink
    Definition Classes
    Tail
  40. def stageShutdown(): Unit

    Permalink

    Shuts down the stage, deallocating resources, etc.

    Shuts down the stage, deallocating resources, etc.

    This method will be called when the stages receives a Disconnected command unless the inboundCommand method is overridden. It is not impossible that this will not be called due to failure for other stages to propagate shutdown commands. Conversely, it is also possible for this to be called more than once due to the reception of multiple disconnect commands. It is therefore recommended that the method be idempotent.

    Attributes
    protected
    Definition Classes
    TimeoutStageBaseStage
  41. def stageStartup(): Unit

    Permalink

    Start the stage, allocating resources etc.

    Start the stage, allocating resources etc.

    This method should not effect other stages by sending commands etc unless it creates them. It is not impossible that the stage will receive other commands besides Connected before this method is called. It is not impossible for this method to be called multiple times by misbehaving stages. It is therefore recommended that the method be idempotent.

    Attributes
    protected
    Definition Classes
    Stage
  42. final def startTimeout(): Unit

    Permalink
    Attributes
    protected
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def writeRequest(data: Seq[T]): Future[Unit]

    Permalink

    A simple default that serializes the write requests into the single element form.

    A simple default that serializes the write requests into the single element form. It almost certainly should be overwritten

    data

    sequence of elements which are to be written

    returns

    Future which will resolve when pipeline is ready for more data or fails

    Definition Classes
    TimeoutStageBaseHead
  49. def writeRequest(data: T): Future[Unit]

    Permalink
    Definition Classes
    TimeoutStageBaseHead

Inherited from MidStage[T, T]

Inherited from Head[T]

Inherited from Tail[T]

Inherited from Stage

Inherited from AnyRef

Inherited from Any

Ungrouped