package netty4
Package netty4 implements the bottom finagle primitives: com.twitter.finagle.Server and a client transport in terms of the netty4 event loop.
- Alphabetic
- By Inheritance
- netty4
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Netty4Listener[In, Out, Ctx <: TransportContext](pipelineInit: (ChannelPipeline) ⇒ Unit, params: Params, setupMarshalling: (ChannelInitializer[Channel]) ⇒ ChannelHandler, transportFactory: (Channel) ⇒ Transport[Any, Any] { type Context <: Ctx })(implicit mIn: Manifest[In], mOut: Manifest[Out]) extends Listener[In, Out, Ctx] with Product with Serializable
Constructs a
Listener[In, Out]given afunction responsible for framing a Transport stream.pipelineInitConstructs a
Listener[In, Out]given afunction responsible for framing a Transport stream. The Listener is configured via the passed in Params.pipelineInit- See also
com.twitter.finagle.transport.Transport
com.twitter.finagle.server.Listener
Value Members
- object Netty4Listener extends Serializable
- object Netty4Transporter
- object nativeEpoll
-
object
numWorkers extends GlobalFlag[Int]
Flag for defining the number of worker threads used by the Finagle Netty 4 backend
Flag for defining the number of worker threads used by the Finagle Netty 4 backend
- Note
For the default value, we set a floor of 8 workers so in the case of constrained environments we don't end up with detrimentally small worker pool sizes.
- object referenceLeakLintRule