-
- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
createName(ServiceDescriptor service, String methodName, MetricType metricType)
Create a metric name.
-
-
-
Method Detail
-
createName
String createName(ServiceDescriptor service, String methodName, MetricType metricType)
Create a metric name.- Parameters:
service
- the service descriptormethodName
- the method namemetricType
- the metric type- Returns:
- the metric name
-
-