Interface GrpcMetrics.NamingFunction

  • Enclosing class:
    GrpcMetrics
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface GrpcMetrics.NamingFunction
    Implemented by classes that can create a metric name.
    • Method Detail

      • createName

        String createName​(ServiceDescriptor service,
                          String methodName,
                          MetricType metricType)
        Create a metric name.
        Parameters:
        service - the service descriptor
        methodName - the method name
        metricType - the metric type
        Returns:
        the metric name