Package io.pravega.shared.protocol.netty
Class WireCommands.SegmentsMerged
- java.lang.Object
-
- io.pravega.shared.protocol.netty.WireCommands.SegmentsMerged
-
- All Implemented Interfaces:
Reply,WireCommand
- Enclosing class:
- WireCommands
public static final class WireCommands.SegmentsMerged extends java.lang.Object implements Reply, WireCommand
-
-
Constructor Summary
Constructors Constructor Description SegmentsMerged(long requestId, java.lang.String target, java.lang.String source, long newTargetWriteOffset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)longgetNewTargetWriteOffset()longgetRequestId()java.lang.StringgetSource()java.lang.StringgetTarget()WireCommandTypegetType()inthashCode()voidprocess(ReplyProcessor cp)static WireCommandreadFrom(io.netty.buffer.ByteBufInputStream in, int length)java.lang.StringtoString()voidwriteFields(java.io.DataOutput out)
-
-
-
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(io.netty.buffer.ByteBufInputStream 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
-
getTarget
public java.lang.String getTarget()
-
getSource
public java.lang.String getSource()
-
getNewTargetWriteOffset
public long getNewTargetWriteOffset()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-