package netty3
Package netty3 implements the bottom finagle primitives: {{com.twitter.finagle.Server}} and a client transport in terms of the netty3 event loop.
Note: when {{com.twitter.finagle.builder.ClientBuilder}} and {{com.twitter.finagle.builder.ServerBuilder}} are deprecated, package netty3 can move into its own package, so that only the (new-style) clients and servers that depend on netty3 bring it in.
- Alphabetic
- By Inheritance
- netty3
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
ChannelBufferBuf extends Buf
A com.twitter.io.Buf wrapper for Netty ChannelBuffers.
A com.twitter.io.Buf wrapper for Netty ChannelBuffers.
- Note
Since
ChannelBuffers are mutable, modifying the wrapped buffer withinslices of aChannelBufferBufwill modify the original wrappedChannelBuffer. Similarly, modifications to the original buffer will be reflected in slices.
-
class
ChannelBufferSnooper extends ChannelSnooper
Log message events
-
trait
ChannelSnooper extends ChannelDownstreamHandler with ChannelUpstreamHandler
Log events on channels
-
class
Netty3Listener[In, Out] extends Listener[In, Out, TransportContext]
A listener using Netty3 which is given a ChannelPipelineFactory that yields
-typed upstream messages and acceptsOut-typed downstream messages.InA listener using Netty3 which is given a ChannelPipelineFactory that yields
-typed upstream messages and acceptsOut-typed downstream messages.In- In
the type of input messages
- Out
the type of output messages
-
class
SimpleChannelSnooper extends ChannelSnooper
Log raw channel events
Value Members
- val Executor: ExecutorService
- val WorkerPool: NioWorkerPool
- object BufChannelBuffer
-
object
BufChannelBufferFactory
Class BufChannelBufferFactory is a Netty ChannelBufferFactory that creates read-only ChannelBuffers based on Bufs.
Class BufChannelBufferFactory is a Netty ChannelBufferFactory that creates read-only ChannelBuffers based on Bufs. They are a thin API wrapper on top of Buf; no additional allocations are performed.
- object ChannelBufferBuf
- object ChannelSnooper
- object Netty3Listener
- object Netty3Transporter
-
object
numWorkers extends GlobalFlag[Int]
Flag for defining the number of worker threads used by the Finagle Netty 3 backend
Flag for defining the number of worker threads used by the Finagle Netty 3 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.