Class MemcachedInboundAdapter
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
org.infinispan.server.memcached.MemcachedInboundAdapter
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class MemcachedInboundAdapter
extends io.netty.channel.ChannelInboundHandlerAdapter
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Logprotected static final intprotected io.netty.buffer.ByteBufprotected io.netty.channel.ChannelProgressivePromiseprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) voidchannelReadComplete(io.netty.channel.ChannelHandlerContext ctx) voidchannelUnregistered(io.netty.channel.ChannelHandlerContext ctx) voidchannelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) voidexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) voidflushBufferIfNeeded(io.netty.channel.ChannelHandlerContext ctx) static ByteBufPoolgetAllocator(io.netty.channel.ChannelHandlerContext ctx) voidhandleExceptionally(io.netty.channel.ChannelHandlerContext ctx, MemcachedResponse response) voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx) Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRegistered, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerRemoved
-
Field Details
-
MINIMUM_BUFFER_SIZE
protected static final int MINIMUM_BUFFER_SIZE -
log
-
outbound
protected io.netty.buffer.ByteBuf outbound -
progressive
protected io.netty.channel.ChannelProgressivePromise progressive -
resumeAutoReadOnWritability
protected boolean resumeAutoReadOnWritability
-
-
Constructor Details
-
MemcachedInboundAdapter
-
-
Method Details
-
getAllocator
-
flushBufferIfNeeded
public void flushBufferIfNeeded(io.netty.channel.ChannelHandlerContext ctx) -
handleExceptionally
public void handleExceptionally(io.netty.channel.ChannelHandlerContext ctx, MemcachedResponse response) -
handlerAdded
-
channelUnregistered
-
channelReadComplete
-
channelWritabilityChanged
- Specified by:
channelWritabilityChangedin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
channelWritabilityChangedin classio.netty.channel.ChannelInboundHandlerAdapter- Throws:
Exception
-
channelRead
- Specified by:
channelReadin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
channelReadin classio.netty.channel.ChannelInboundHandlerAdapter
-
exceptionCaught
- Specified by:
exceptionCaughtin interfaceio.netty.channel.ChannelHandler- Specified by:
exceptionCaughtin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
exceptionCaughtin classio.netty.channel.ChannelInboundHandlerAdapter
-