Class MultiKeyRouterRequestWrapper<K>
- java.lang.Object
-
- com.linkedin.venice.listener.request.RouterRequest
-
- com.linkedin.venice.listener.request.MultiKeyRouterRequestWrapper<K>
-
- Direct Known Subclasses:
ComputeRouterRequestWrapper
,MultiGetRouterRequestWrapper
public abstract class MultiKeyRouterRequestWrapper<K> extends RouterRequest
MultiKeyRouterRequestWrapper
is a base class for a multi-key operation.
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.listener.request.RouterRequest
NO_REQUEST_TIMEOUT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MultiKeyRouterRequestWrapper(java.lang.String resourceName, java.util.List<K> keys, boolean isRetryRequest, boolean isStreamingRequest)
protected
MultiKeyRouterRequestWrapper(java.lang.String resourceName, java.util.List<K> keys, io.netty.handler.codec.http.HttpRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getKeyCount()
java.util.List<K>
getKeys()
-
Methods inherited from class com.linkedin.venice.listener.request.RouterRequest
getRequestType, getResourceName, getStoreName, isRetryRequest, isStreamingRequest, setRequestTimeoutInNS, shouldRequestBeTerminatedEarly
-
-
-
-
Constructor Detail
-
MultiKeyRouterRequestWrapper
protected MultiKeyRouterRequestWrapper(java.lang.String resourceName, java.util.List<K> keys, io.netty.handler.codec.http.HttpRequest request)
-
MultiKeyRouterRequestWrapper
protected MultiKeyRouterRequestWrapper(java.lang.String resourceName, java.util.List<K> keys, boolean isRetryRequest, boolean isStreamingRequest)
-
-
Method Detail
-
getKeys
public java.util.List<K> getKeys()
-
getKeyCount
public int getKeyCount()
- Specified by:
getKeyCount
in classRouterRequest
-
-