public interface NettyConnectionReader
NettyConnectionReader is used by TierConsumerAgent to read buffer from netty.| Modifier and Type | Method and Description |
|---|---|
Optional<Buffer> |
readBuffer(int segmentId)
Read a buffer from netty connection.
|
Optional<Buffer> readBuffer(int segmentId)
segmentId - segment id indicates the id of segment.Optional.empty() will be returned if there is no buffer sent from netty
connection otherwise a buffer will be returned.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.