Interface ResourcePath<K>

All Known Implementing Classes:
VeniceComputePath, VeniceMultiGetPath, VeniceMultiKeyPath, VenicePath, VeniceSingleGetPath

public interface ResourcePath<K>
  • Method Details

    • getPartitionKey

      default K getPartitionKey()
    • getLocation

      @Nonnull String getLocation()
    • getPartitionKeys

      @Nonnull Collection<K> getPartitionKeys()
    • getResourceName

      @Nonnull String getResourceName()
    • setRetryRequest

      default void setRetryRequest(io.netty.handler.codec.http.HttpResponseStatus status)
      If the inherited class wants to know whether the current path belongs to a retry request or not, it needs to implement this method properly to maintain the internal state.
    • setRetryRequest

      default void setRetryRequest()