Package io.pravega.shared.protocol.netty
Class WireCommands.TableEntriesRead
- java.lang.Object
-
- io.pravega.shared.protocol.netty.WireCommands.ReleasableCommand
-
- io.pravega.shared.protocol.netty.WireCommands.TableEntriesRead
-
- All Implemented Interfaces:
Reply,WireCommand
- Enclosing class:
- WireCommands
public static final class WireCommands.TableEntriesRead extends WireCommands.ReleasableCommand implements Reply, WireCommand
-
-
Field Summary
Fields Modifier and Type Field Description static intHEADER_BYTES
-
Constructor Summary
Constructors Constructor Description TableEntriesRead(long requestId, java.lang.String segment, WireCommands.TableEntries entries, io.netty.buffer.ByteBuf continuationToken)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)io.netty.buffer.ByteBufgetContinuationToken()WireCommands.TableEntriesgetEntries()longgetRequestId()java.lang.StringgetSegment()WireCommandTypegetType()inthashCode()voidprocess(ReplyProcessor cp)static WireCommandreadFrom(EnhancedByteBufInputStream in, int length)java.lang.StringtoString()voidwriteFields(java.io.DataOutput out)-
Methods inherited from class io.pravega.shared.protocol.netty.WireCommands.ReleasableCommand
isReleased, release
-
-
-
-
Field Detail
-
HEADER_BYTES
public static final int HEADER_BYTES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TableEntriesRead
@ConstructorProperties({"requestId","segment","entries","continuationToken"}) public TableEntriesRead(long requestId, java.lang.String segment, WireCommands.TableEntries entries, io.netty.buffer.ByteBuf continuationToken)
-
-
Method Detail
-
process
public void process(ReplyProcessor cp)
-
writeFields
public void writeFields(java.io.DataOutput out) throws java.io.IOException- Specified by:
writeFieldsin interfaceWireCommand- Throws:
java.io.IOException
-
readFrom
public static WireCommand readFrom(EnhancedByteBufInputStream in, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
getType
public WireCommandType getType()
- Specified by:
getTypein interfaceWireCommand
-
getRequestId
public long getRequestId()
- Specified by:
getRequestIdin interfaceReply
-
getSegment
public java.lang.String getSegment()
-
getEntries
public WireCommands.TableEntries getEntries()
-
getContinuationToken
public io.netty.buffer.ByteBuf getContinuationToken()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-