Class InternalTransportClient
java.lang.Object
com.linkedin.venice.client.store.transport.TransportClient
com.linkedin.venice.fastclient.transport.InternalTransportClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
GrpcTransportClient
,R2TransportClient
Abstract class for Fast-Client transport layer implementation, and this layer is mostly decided which methods
need to be implemented at different stages.
Eventually this class can be deleted once all the methods defined in
TransportClient
are required in Fast-Client.-
Field Summary
Fields inherited from class com.linkedin.venice.client.store.transport.TransportClient
HTTPS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
streamPost
(String requestPath, Map<String, String> headers, byte[] requestBody, TransportClientStreamingCallback callback, int keyCount) Methods inherited from class com.linkedin.venice.client.store.transport.TransportClient
get, get, getCopyIfNotUsableInCallback, post, post
-
Constructor Details
-
InternalTransportClient
public InternalTransportClient()
-
-
Method Details
-
streamPost
public void streamPost(String requestPath, Map<String, String> headers, byte[] requestBody, TransportClientStreamingCallback callback, int keyCount) - Specified by:
streamPost
in classTransportClient
-