Class ClientTestUtils


  • public class ClientTestUtils
    extends java.lang.Object
    • Field Detail

      • FASTCLIENT_HTTP_VARIANTS

        public static final java.lang.Object[] FASTCLIENT_HTTP_VARIANTS
      • REQUEST_TYPES_SMALL

        public static final java.lang.Object[] REQUEST_TYPES_SMALL
      • STORE_METADATA_FETCH_MODES

        public static final java.lang.Object[] STORE_METADATA_FETCH_MODES
    • Constructor Detail

      • ClientTestUtils

        public ClientTestUtils()
    • 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)