Annotation Type RegistryType
-
@Qualifier @Documented @Retention(RUNTIME) @Target({METHOD,FIELD,PARAMETER,ANNOTATION_TYPE}) public @interface RegistryType
Qualifies the type of Metric Registry to inject.This can be used to obtain the respective scoped
MetricRegistry
:@Inject @RegistryType(type=MetricRegistry.Type.BASE) MetricRegistry baseRegistry;
- See Also:
MetricRegistry.Type
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description MetricRegistry.Type
type
-
-
-
Element Detail
-
type
MetricRegistry.Type type
- Default:
- org.eclipse.microprofile.metrics.MetricRegistry.Type.APPLICATION
-
-