public final class RegistryFactory
extends java.lang.Object
getRegistryFactory().| Modifier and Type | Method | Description |
|---|---|---|
static RegistryFactory |
createSeFactory(Config config) |
Create a registry factory for systems without CDI.
|
MetricRegistry |
getRegistry(MetricRegistry.Type type) |
Get a registry based on its type.
|
static java.util.function.Supplier<RegistryFactory> |
getRegistryFactory() |
Get a supplier for registry factory.
|
public static java.util.function.Supplier<RegistryFactory> getRegistryFactory()
public static RegistryFactory createSeFactory(Config config)
config - configuration to load the factory config frompublic MetricRegistry getRegistry(MetricRegistry.Type type)
MetricRegistry.Type.APPLICATION returns a modifiable registry, for other types
returns a final registry (cannot register new metrics).type - type of registryCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.