org.http4s.blaze.pipeline.stages.addons

WriteSerializer

trait WriteSerializer[I] extends TailStage[I]

Serializes write requests, storing intermediates in a queue

Self Type
WriteSerializer[I]
Linear Supertypes
TailStage[I], Tail[I], Stage, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WriteSerializer
  2. TailStage
  3. Tail
  4. Stage
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def name: String

    Definition Classes
    Stage

Concrete 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. def channelRead(size: Int = 1, timeout: Duration = Duration.Inf): Future[I]

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

    Definition Classes
    WriteSerializerTail
  9. def channelWrite(data: I): Future[Unit]

    Definition Classes
    WriteSerializerTail
  10. final def channelWrite(data: Seq[I], timeout: Duration): Future[Unit]

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

    Definition Classes
    Tail
  12. def clone(): AnyRef

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

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

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

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

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

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

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

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

    Handle basic startup and shutdown commands.

    Handle basic startup and shutdown commands. This should clearly be overridden in all cases except possibly TailStages

    cmd

    a command originating from the channel

    Definition Classes
    Stage
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final val logger: Logger

    Attributes
    protected
    Definition Classes
    Stage
  23. def maxWriteQueue: Int

  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. final def replaceInline(leafBuilder: LeafBuilder[I], startup: Boolean = true): WriteSerializer.this.type

    Definition Classes
    Tail
  28. final def sendOutboundCommand(cmd: OutboundCommand): Unit

    Definition Classes
    Tail
  29. final def spliceBefore(stage: MidStage[I, I]): Unit

    Definition Classes
    Tail
  30. 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 therefore recommended that the method be idempotent.

    Attributes
    protected
    Definition Classes
    Stage
  31. 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 therefore recommended that the method be idempotent.

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

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TailStage[I]

Inherited from Tail[I]

Inherited from Stage

Inherited from AnyRef

Inherited from Any

Ungrouped