Package io.pravega.shared.protocol.netty
Class WireCommands.TableRead
- java.lang.Object
-
- io.pravega.shared.protocol.netty.WireCommands.ReleasableCommand
-
- io.pravega.shared.protocol.netty.WireCommands.TableRead
-
- All Implemented Interfaces:
Reply,WireCommand
- Enclosing class:
- WireCommands
public static final class WireCommands.TableRead extends WireCommands.ReleasableCommand implements Reply, WireCommand
-
-
Constructor Summary
Constructors Constructor Description TableRead(long requestId, java.lang.String segment, WireCommands.TableEntries entries)
-
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)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
-
-
-
-
Constructor Detail
-
TableRead
@ConstructorProperties({"requestId","segment","entries"}) public TableRead(long requestId, java.lang.String segment, WireCommands.TableEntries entries)
-
-
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()
-
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
-
-