public class HeaderDecoder extends HintedReplayingDecoder<org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.State>
| Constructor and Description |
|---|
HeaderDecoder(Codec codec,
ChannelFactory channelFactory,
Configuration configuration,
ClientListenerNotifier listenerNotifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(byte[] listenerId) |
CompletableFuture<Void> |
allCompleteFuture() |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
checkpoint()
Stores the internal cumulative buffer's reader position.
|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
failoverClientListeners() |
boolean |
isSharable() |
int |
registeredOperations() |
void |
registerOperation(io.netty.channel.Channel channel,
HotRodOperation<?> operation) |
void |
removeListener(byte[] listenerId) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
callDecode, checkpoint, state, stateactualReadableBytes, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChangedpublic static final String NAME
public HeaderDecoder(Codec codec, ChannelFactory channelFactory, Configuration configuration, ClientListenerNotifier listenerNotifier)
public boolean isSharable()
isSharable in class io.netty.channel.ChannelHandlerAdapterpublic void registerOperation(io.netty.channel.Channel channel,
HotRodOperation<?> operation)
protected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out)
decode in class io.netty.handler.codec.ByteToMessageDecoderpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class HintedReplayingDecoder<org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.State>public void failoverClientListeners()
public CompletableFuture<Void> allCompleteFuture()
public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt)
userEventTriggered in interface io.netty.channel.ChannelInboundHandleruserEventTriggered in class io.netty.handler.codec.ByteToMessageDecoderpublic void checkpoint()
HotRodOperationcheckpoint in class HintedReplayingDecoder<org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.State>public int registeredOperations()
public void addListener(byte[] listenerId)
public void removeListener(byte[] listenerId)
Copyright © 2022 JBoss by Red Hat. All rights reserved.