org.http4s.blaze.pipeline.stages

CommandTimeoutStage

class CommandTimeoutStage[T] extends TimeoutStageBase[T]

Linear Supertypes
TimeoutStageBase[T], MidStage[T, T], Head[T], Tail[T], Stage, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CommandTimeoutStage
  2. TimeoutStageBase
  3. MidStage
  4. Head
  5. Tail
  6. Stage
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CommandTimeoutStage(timeout: Duration, exec: TickWheelExecutor = ...)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. final def cancelTimeout(): Unit

    Attributes
    protected
    Definition Classes
    TimeoutStageBase
  8. def channelRead(size: Int = 1, timeout: Duration = Duration.Inf): Future[T]

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

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

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

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

    Definition Classes
    Tail
  13. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Receives inbound commands Override to capture commands.

    Receives inbound commands Override to capture commands.

    cmd

    a command originating from the channel

    Definition Classes
    CommandTimeoutStageHeadStage
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final val logger: Logger

    Attributes
    protected
    Definition Classes
    Stage
  26. def name: String

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

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

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

    Receives outbound commands Override to capture commands.

    Receives outbound commands Override to capture commands.

    Definition Classes
    CommandTimeoutStageMidStageHead
  31. def readRequest(size: Int): Future[T]

    Definition Classes
    TimeoutStageBaseHead
  32. final def removeStage(implicit ev: =:=[MidStage[T, T], MidStage[T, T]]): CommandTimeoutStage.this.type

    Definition Classes
    MidStage
  33. final def replaceInline(stage: MidStage[T, T]): CommandTimeoutStage.this.type

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

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

    Definition Classes
    MidStage
  36. final def resetTimeout(): Unit

    Attributes
    protected
    Definition Classes
    TimeoutStageBase
  37. final def sendInboundCommand(cmd: InboundCommand): Unit

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

    Definition Classes
    Tail
  39. def setAndCancel(next: Cancellable): Unit

    Attributes
    protected
    Definition Classes
    TimeoutStageBase
  40. final def spliceAfter(stage: MidStage[T, T]): stage.type

    Definition Classes
    Head
  41. def stageShutdown(): Unit

    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 therefor recommended that the method be idempotent.

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

    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 therefor recommended that the method be idempotent.

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

    Attributes
    protected
    Definition Classes
    TimeoutStageBase
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toString(): String

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

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

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

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

    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
  50. def writeRequest(data: T): Future[Unit]

    Definition Classes
    TimeoutStageBaseHead

Inherited from TimeoutStageBase[T]

Inherited from MidStage[T, T]

Inherited from Head[T]

Inherited from Tail[T]

Inherited from Stage

Inherited from AnyRef

Inherited from Any

Ungrouped