Class TextOpDecoder
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.ByteToMessageDecoder
org.infinispan.server.memcached.MemcachedBaseDecoder
org.infinispan.server.memcached.text.TextOpDecoder
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
- Direct Known Subclasses:
TextOpDecoderImpl
- Since:
- 15.0
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.handler.codec.ByteToMessageDecoder
io.netty.handler.codec.ByteToMessageDecoder.CumulatorNested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
FieldsFields inherited from class org.infinispan.server.memcached.MemcachedBaseDecoder
accessLogging, ANONYMOUS, cache, ctx, current, log, maxContentLength, posBefore, principalName, requestStart, server, statistics, statsEnabled, subject, timeService, versionGeneratorFields inherited from class io.netty.handler.codec.ByteToMessageDecoder
COMPOSITE_CUMULATOR, MERGE_CUMULATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MemcachedResponseadd(TextHeader header, byte[] key, byte[] value, int flags, int expiration, boolean quiet) protected MemcachedResponsecas(TextHeader header, byte[] key, byte[] value, int flags, int expiration, long cas, boolean quiet) protected MemcachedResponseconcat(TextHeader header, byte[] key, byte[] value, int flags, int expiration, boolean quiet, boolean append) protected MemcachedResponsedelete(TextHeader header, byte[] key, boolean quiet) protected MemcachedResponsefailedResponse(Header header, Throwable t) protected MemcachedResponseflush_all(TextHeader header, List<byte[]> varargs) protected MemcachedResponsegat(TextHeader header, int expiration, List<byte[]> keys, boolean withVersions) protected MemcachedResponseget(TextHeader header, List<byte[]> keys, boolean withVersions) voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx) protected voidhandlerRemoved0(io.netty.channel.ChannelHandlerContext ctx) protected MemcachedResponseincr(TextHeader header, byte[] key, byte[] delta, boolean quiet, boolean isIncrement) protected MemcachedResponsema(TextHeader header, byte[] key, List<byte[]> args) protected MemcachedResponsemd(TextHeader header, byte[] key, List<byte[]> args) protected MemcachedResponseme(TextHeader header, byte[] key, List<byte[]> args) protected MemcachedResponsemg(TextHeader header, byte[] key, List<byte[]> args) protected MemcachedResponsemn(TextHeader header) protected MemcachedResponsems(TextHeader header, byte[] key, byte[] value, List<byte[]> args) protected voidquit(TextHeader header) protected MemcachedResponsereplace(TextHeader header, byte[] key, byte[] value, int flags, int expiration, boolean quiet) protected MemcachedResponsesend(Header header, CompletionStage<?> response) protected MemcachedResponsesend(Header header, CompletionStage<?> response, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) protected MemcachedResponseset(TextHeader header, byte[] key, byte[] value, int flags, int expiration, boolean quiet) protected MemcachedResponsestats(TextHeader header, List<byte[]> names) protected MemcachedResponsetouch(TextHeader header, byte[] key, int expiration, boolean quiet) protected MemcachedResponseversion(TextHeader header) Methods inherited from class org.infinispan.server.memcached.MemcachedBaseDecoder
bytesAvailable, exceptionCaught, metadata, registerExceptionHandler, resumeRead, statsMap, toMillis, touchMetadataMethods inherited from class io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decode, decodeLast, discardSomeReadBytes, handlerRemoved, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Field Details
-
reader
-
-
Constructor Details
-
TextOpDecoder
-
-
Method Details
-
get
-
set
protected MemcachedResponse set(TextHeader header, byte[] key, byte[] value, int flags, int expiration, boolean quiet) -
delete
-
concat
protected MemcachedResponse concat(TextHeader header, byte[] key, byte[] value, int flags, int expiration, boolean quiet, boolean append) -
replace
protected MemcachedResponse replace(TextHeader header, byte[] key, byte[] value, int flags, int expiration, boolean quiet) -
add
protected MemcachedResponse add(TextHeader header, byte[] key, byte[] value, int flags, int expiration, boolean quiet) -
cas
protected MemcachedResponse cas(TextHeader header, byte[] key, byte[] value, int flags, int expiration, long cas, boolean quiet) -
touch
-
gat
protected MemcachedResponse gat(TextHeader header, int expiration, List<byte[]> keys, boolean withVersions) -
md
-
ma
-
me
-
mn
-
ms
-
mg
-
flush_all
-
version
-
quit
-
incr
protected MemcachedResponse incr(TextHeader header, byte[] key, byte[] delta, boolean quiet, boolean isIncrement) -
stats
-
handlerAdded
- Specified by:
handlerAddedin interfaceio.netty.channel.ChannelHandler- Overrides:
handlerAddedin classMemcachedBaseDecoder- Throws:
Exception
-
handlerRemoved0
-
failedResponse
- Specified by:
failedResponsein classMemcachedBaseDecoder
-
send
- Specified by:
sendin classMemcachedBaseDecoder
-
send
protected MemcachedResponse send(Header header, CompletionStage<?> response, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) - Specified by:
sendin classMemcachedBaseDecoder
-