Package com.linecorp.armeria.spring
Interface MeterIdPrefixFunctionFactory
- 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 interface MeterIdPrefixFunctionFactory
Produces a
MeterIdPrefixFunction
from a service name.-
Method Summary
Modifier and Type Method Description MeterIdPrefixFunction
get(String type, String serviceName)
Returns theMeterIdPrefixFunction
for the specified service name.static MeterIdPrefixFunctionFactory
ofDefault()
Returns the defaultMeterIdPrefixFunctionFactory
instance.
-
Method Details
-
ofDefault
Returns the defaultMeterIdPrefixFunctionFactory
instance. -
get
Returns theMeterIdPrefixFunction
for the specified service name.
-