Package io.pravega.shared.protocol.netty
Class WireCommands.AppendBlockEnd
- java.lang.Object
-
- io.pravega.shared.protocol.netty.WireCommands.ReleasableCommand
-
- io.pravega.shared.protocol.netty.WireCommands.AppendBlockEnd
-
- All Implemented Interfaces:
WireCommand
- Enclosing class:
- WireCommands
public static final class WireCommands.AppendBlockEnd extends WireCommands.ReleasableCommand
-
-
Constructor Summary
Constructors Constructor Description AppendBlockEnd(java.util.UUID writerId, int sizeOfWholeEvents, io.netty.buffer.ByteBuf data, int numEvents, long lastEventNumber, long requestId)
-
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.ByteBufgetData()longgetLastEventNumber()intgetNumEvents()longgetRequestId()intgetSizeOfWholeEvents()WireCommandTypegetType()java.util.UUIDgetWriterId()inthashCode()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
-
-
-
-
Method Detail
-
writeFields
public void writeFields(java.io.DataOutput out) throws java.io.IOException- 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()
-
getWriterId
public java.util.UUID getWriterId()
-
getSizeOfWholeEvents
public int getSizeOfWholeEvents()
-
getData
public io.netty.buffer.ByteBuf getData()
-
getNumEvents
public int getNumEvents()
-
getLastEventNumber
public long getLastEventNumber()
-
getRequestId
public long getRequestId()
-
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
-
-