Class NettyPipelinedConnection<Req,Resp>

java.lang.Object
io.servicetalk.transport.netty.internal.NettyPipelinedConnection<Req,Resp>
Type Parameters:
Req - Type of requests sent on this connection.
Resp - Type of responses read from this connection.
All Implemented Interfaces:
AsyncCloseable, ListenableAsyncCloseable, ConnectionContext, ConnectionInfo, NettyConnectionContext

public final class NettyPipelinedConnection<Req,Resp> extends Object implements NettyConnectionContext
Contract for using a NettyConnection to make pipelined requests, typically for a client.

Pipelining allows to have concurrent requests processed on the server but still deliver responses in order. This eliminates the need for request-response correlation, at the cost of head-of-line blocking.