Class NettyPayload
java.lang.Object
org.apache.flink.runtime.io.network.partition.hybrid.tiered.netty.NettyPayload
The
NettyPayload represents the payload that will be transferred to netty connection. It
could indicate a combination of buffer, buffer index, and its subpartition id, and it could also
indicate an error or a segment id.-
Method Summary
Modifier and TypeMethodDescriptionintgetError()intintstatic NettyPayloadstatic NettyPayloadstatic NettyPayloadnewSegment(int segmentId)
-
Method Details
-
newBuffer
-
newError
-
newSegment
-
getBuffer
-
getError
-
getBufferIndex
public int getBufferIndex() -
getSubpartitionId
public int getSubpartitionId() -
getSegmentId
public int getSegmentId()
-