Package org.apache.hadoop.hbase.ipc
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
Modifier and TypeFieldDescriptionprivate final MetricsHBaseServer
(package private) static final String
-
Constructor Summary
-
Method Summary
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
-
NAME
- See Also:
-
metrics
-
-
Constructor Details
-
NettyRpcServerResponseEncoder
-
-
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 interfaceorg.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandler
- Overrides:
write
in classorg.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandlerAdapter
- Throws:
Exception
-