Package org.apache.hadoop.mapred
Class ShuffleChannelInitializer
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
org.apache.hadoop.mapred.ShuffleChannelInitializer
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class ShuffleChannelInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionShuffleChannelInitializer(ShuffleChannelHandlerContext ctx, org.apache.hadoop.security.ssl.SSLFactory sslFactory) -
Method Summary
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Field Details
-
MAX_CONTENT_LENGTH
public static final int MAX_CONTENT_LENGTH- See Also:
-
-
Constructor Details
-
ShuffleChannelInitializer
public ShuffleChannelInitializer(ShuffleChannelHandlerContext ctx, org.apache.hadoop.security.ssl.SSLFactory sslFactory)
-
-
Method Details
-
initChannel
public void initChannel(io.netty.channel.socket.SocketChannel ch) throws GeneralSecurityException, IOException - Specified by:
initChannelin classio.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>- Throws:
GeneralSecurityExceptionIOException
-