Package

com.twitter.finagle.netty4

channel

Permalink

package channel

Visibility
  1. Public
  2. All

Value Members

  1. object DirectToHeapInboundHandler extends ChannelInboundHandlerAdapter

    Permalink

    An inbound channel handler that copies direct byte buffers onto the JVM heap and gives them a deterministic lifecycle.

    An inbound channel handler that copies direct byte buffers onto the JVM heap and gives them a deterministic lifecycle.

    Annotations
    @Sharable()
    Note

    If your protocol manages ref-counting or if you are delegating ref-counting to application space you don't need this handler in your pipeline. Every other use case needs this handler or you will with very high probability incur a direct buffer leak.

Ungrouped