public interface DecodeBufferPolicy
buffer in
CommandHandler.decode(ChannelHandlerContext ctx, ByteBuf buffer) to reclaim memory after various response decoding
phases.| Modifier and Type | Method and Description |
|---|---|
default void |
afterCommandDecoded(ByteBuf buffer)
Callback that is invoked after a command has been fully decoded.
|
default void |
afterDecoding(ByteBuf buffer)
Callback that is invoked after leaving the decode loop.
|
default void |
afterPartialDecode(ByteBuf buffer)
Callback that is invoked after partially decoding a command.
|
default void afterPartialDecode(ByteBuf buffer)
buffer - aggregation bufferdefault void afterCommandDecoded(ByteBuf buffer)
buffer - aggregation bufferdefault void afterDecoding(ByteBuf buffer)
buffer - aggregation bufferCopyright © 2024 lettuce.io. All rights reserved.