Class RouterRequest
java.lang.Object
com.linkedin.venice.listener.request.RouterRequest
- Direct Known Subclasses:
GetRouterRequest
,MultiKeyRouterRequestWrapper
RouterRequest
is an abstract base class for single-get and multi-get operations.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRouterRequest
(String resourceName, boolean isRetryRequest, boolean isStreamingRequest) RouterRequest
(String resourceName, io.netty.handler.codec.http.HttpRequest request) -
Method Summary
Modifier and TypeMethodDescriptionabstract int
abstract RequestType
boolean
boolean
void
setRequestTimeoutInNS
(long requestTimeoutInNS) boolean
-
Field Details
-
NO_REQUEST_TIMEOUT
public static final long NO_REQUEST_TIMEOUT- See Also:
-
-
Constructor Details
-
RouterRequest
-
RouterRequest
-
-
Method Details
-
setRequestTimeoutInNS
public void setRequestTimeoutInNS(long requestTimeoutInNS) -
getResourceName
-
getStoreName
-
getRequestType
-
getKeyCount
public abstract int getKeyCount() -
isRetryRequest
public boolean isRetryRequest() -
isStreamingRequest
public boolean isStreamingRequest() -
shouldRequestBeTerminatedEarly
public boolean shouldRequestBeTerminatedEarly()
-