public final class CopyData extends io.netty.util.AbstractReferenceCounted implements FrontendMessage
FrontendMessage.DirectEncoder| Constructor and Description |
|---|
CopyData(io.netty.buffer.ByteBuf data)
Create a new message.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
deallocate() |
Publisher<io.netty.buffer.ByteBuf> |
encode(io.netty.buffer.ByteBufAllocator byteBufAllocator)
Encode a message into a
ByteBuf. |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
CopyData |
touch(Object hint) |
public CopyData(io.netty.buffer.ByteBuf data)
data - data that forms part of a COPY data streamIllegalArgumentException - if data is nullpublic Publisher<io.netty.buffer.ByteBuf> encode(io.netty.buffer.ByteBufAllocator byteBufAllocator)
FrontendMessageByteBuf.encode in interface FrontendMessagebyteBufAllocator - the byteBufAllocator to use to get a ByteBuf to write intoPublisher that produces the ByteBuf containing the encoded messageprotected void deallocate()
deallocate in class io.netty.util.AbstractReferenceCountedpublic CopyData touch(Object hint)
touch in interface io.netty.util.ReferenceCountedCopyright © 2024. All rights reserved.