Class ClientTestUtils
- java.lang.Object
-
- com.linkedin.venice.fastclient.utils.ClientTestUtils
-
public class ClientTestUtils extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientTestUtils.FastClientHTTPVariant
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Object[]
FASTCLIENT_HTTP_VARIANTS
static java.lang.Object[]
REQUEST_TYPES_SMALL
static java.lang.Object[]
STORE_METADATA_FETCH_MODES
-
Constructor Summary
Constructors Constructor Description ClientTestUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<java.lang.String>
getAllMetricPrefixes(java.lang.String storeName)
static java.lang.String
getMetricPrefix(java.lang.String storeName, RequestType requestType)
static com.linkedin.r2.transport.common.Client
getR2Client()
static com.linkedin.r2.transport.common.Client
getR2Client(ClientTestUtils.FastClientHTTPVariant fastClientHTTPVariant)
-
-
-
Method Detail
-
getR2Client
public static com.linkedin.r2.transport.common.Client getR2Client() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getR2Client
public static com.linkedin.r2.transport.common.Client getR2Client(ClientTestUtils.FastClientHTTPVariant fastClientHTTPVariant) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getMetricPrefix
public static java.lang.String getMetricPrefix(java.lang.String storeName, RequestType requestType)
-
getAllMetricPrefixes
public static java.util.Set<java.lang.String> getAllMetricPrefixes(java.lang.String storeName)
-
-