Class RouterRequest

java.lang.Object
com.linkedin.venice.listener.request.RouterRequest
Direct Known Subclasses:
GetRouterRequest, MultiKeyRouterRequestWrapper

public abstract class RouterRequest extends Object
RouterRequest is an abstract base class for single-get and multi-get operations.
See Also:
  • Field Details

  • Constructor Details

    • RouterRequest

      public RouterRequest(String resourceName, io.netty.handler.codec.http.HttpRequest request)
    • RouterRequest

      public RouterRequest(String resourceName, boolean isRetryRequest, boolean isStreamingRequest)
  • Method Details

    • setRequestTimeoutInNS

      public void setRequestTimeoutInNS(long requestTimeoutInNS)
    • getResourceName

      public String getResourceName()
    • getStoreName

      public String getStoreName()
    • getRequestType

      public abstract RequestType getRequestType()
    • getKeyCount

      public abstract int getKeyCount()
    • isRetryRequest

      public boolean isRetryRequest()
    • isStreamingRequest

      public boolean isStreamingRequest()
    • shouldRequestBeTerminatedEarly

      public boolean shouldRequestBeTerminatedEarly()