@Qualifier @Documented @Retention(value=RUNTIME) @Target(value={METHOD,FIELD,PARAMETER,ANNOTATION_TYPE}) public @interface RegistryType
This can be used to obtain the respective scoped MetricRegistry:
@Inject
@RegistryType(type=MetricRegistry.Type.BASE)
MetricRegistry baseRegistry;
MetricRegistry.Type| Modifier and Type | Optional Element and Description |
|---|---|
MetricRegistry.Type |
type
The scope of the MetricRegistry.
|
public abstract MetricRegistry.Type type
MetricRegistry.Type can be APPLICATION, BASE, or
VENDOR.MetricRegistry.TypeCopyright © 2017 – 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.