Class NettyRpcServerResponseEncoder

java.lang.Object
org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerAdapter
org.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandlerAdapter
org.apache.hadoop.hbase.ipc.NettyRpcServerResponseEncoder
All Implemented Interfaces:
org.apache.hbase.thirdparty.io.netty.channel.ChannelHandler, org.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandler

@Private class NettyRpcServerResponseEncoder extends org.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandlerAdapter
Encoder for RpcResponse.
Since:
2.0.0
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.hbase.thirdparty.io.netty.channel.ChannelHandler

    org.apache.hbase.thirdparty.io.netty.channel.ChannelHandler.Sharable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final MetricsHBaseServer
     
    (package private) static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx, Object msg, org.apache.hbase.thirdparty.io.netty.channel.ChannelPromise promise)
     

    Methods inherited from class org.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandlerAdapter

    bind, close, connect, deregister, disconnect, flush, read

    Methods inherited from class org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.hbase.thirdparty.io.netty.channel.ChannelHandler

    exceptionCaught, handlerAdded, handlerRemoved
  • Field Details

  • Constructor Details

  • Method Details

    • write

      public void write(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx, Object msg, org.apache.hbase.thirdparty.io.netty.channel.ChannelPromise promise) throws Exception
      Specified by:
      write in interface org.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandler
      Overrides:
      write in class org.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandlerAdapter
      Throws:
      Exception