Package com.linkedin.venice.response
Class VeniceReadResponseStatus
- java.lang.Object
-
- com.linkedin.venice.response.VeniceReadResponseStatus
-
public class VeniceReadResponseStatus extends java.lang.Object
Enumeration of response status codes for Venice read requests.**Positive values** correspond to standard HTTP status codes and can be used directly in HTTP responses. **Negative values** represent custom Venice-specific error codes.
For example, a status code of `200` indicates a successful read, while a status code of `-100` might indicate a specific Venice-related error.
-
-
Field Summary
Fields Modifier and Type Field Description static int
BAD_REQUEST
static int
INTERNAL_ERROR
static int
KEY_NOT_FOUND
static int
OK
static int
SERVICE_UNAVAILABLE
static int
TOO_MANY_REQUESTS
-
Constructor Summary
Constructors Constructor Description VeniceReadResponseStatus()
-
-
-
Field Detail
-
KEY_NOT_FOUND
public static final int KEY_NOT_FOUND
- See Also:
- Constant Field Values
-
OK
public static final int OK
- See Also:
- Constant Field Values
-
BAD_REQUEST
public static final int BAD_REQUEST
- See Also:
- Constant Field Values
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR
- See Also:
- Constant Field Values
-
TOO_MANY_REQUESTS
public static final int TOO_MANY_REQUESTS
- See Also:
- Constant Field Values
-
SERVICE_UNAVAILABLE
public static final int SERVICE_UNAVAILABLE
- See Also:
- Constant Field Values
-
-