Class MultiGetRouterRequestWrapper
- java.lang.Object
-
- com.linkedin.venice.listener.request.RouterRequest
-
- com.linkedin.venice.listener.request.MultiKeyRouterRequestWrapper<MultiGetRouterRequestKeyV1>
-
- com.linkedin.venice.listener.request.MultiGetRouterRequestWrapper
-
public class MultiGetRouterRequestWrapper extends MultiKeyRouterRequestWrapper<MultiGetRouterRequestKeyV1>
MultiGetRouterRequestWrapper
encapsulates a POST request to storage/resourcename on the storage node for a multi-get operation.
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.listener.request.RouterRequest
NO_REQUEST_TIMEOUT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestType
getRequestType()
static MultiGetRouterRequestWrapper
parseMultiGetGrpcRequest(VeniceClientRequest grpcRequest)
static MultiGetRouterRequestWrapper
parseMultiGetHttpRequest(io.netty.handler.codec.http.FullHttpRequest httpRequest, java.lang.String[] requestParts)
java.lang.String
toString()
-
Methods inherited from class com.linkedin.venice.listener.request.MultiKeyRouterRequestWrapper
getKeyCount, getKeys
-
Methods inherited from class com.linkedin.venice.listener.request.RouterRequest
getResourceName, getStoreName, isRetryRequest, isStreamingRequest, setRequestTimeoutInNS, shouldRequestBeTerminatedEarly
-
-
-
-
Method Detail
-
parseMultiGetHttpRequest
public static MultiGetRouterRequestWrapper parseMultiGetHttpRequest(io.netty.handler.codec.http.FullHttpRequest httpRequest, java.lang.String[] requestParts)
-
parseMultiGetGrpcRequest
public static MultiGetRouterRequestWrapper parseMultiGetGrpcRequest(VeniceClientRequest grpcRequest)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getRequestType
public RequestType getRequestType()
- Specified by:
getRequestType
in classRouterRequest
-
-